]> git.saurik.com Git - wxWidgets.git/blame - samples/event/makefile.twn
Workaround for Ctrl-A giving a keycode of 1 in EVT_KEY_DOWN on wxGTK
[wxWidgets.git] / samples / event / makefile.twn
CommitLineData
6164f93c
VZ
1# Purpose: makefile for event example (TWIN)
2# Created: 2001-01-31
3
4WXDIR = ../..
5
6# All common UNIX compiler flags and options are now in
7# this central makefile.
8include $(WXDIR)/src/maketwin.env
9
10OBJECTS = $(OBJDIR)/event.$(OBJSUFF) $(OBJDIR)/event.$(OBJSUFF)
11
12all: $(OBJDIR) event$(GUISUFFIX)$(EXESUFF)
13
14wx:
15
16$(OBJDIR):
17 mkdir $(OBJDIR)
18
19event$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o event$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
21
22$(OBJDIR)/event.$(OBJSUFF): event.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ event.$(SRCSUFF)
24
25event.c: event.rc
26 $(RESCOMP) $(RCINPUTSWITCH) event.rc $(RCOUTPUTSWITCH) event.c $(RESFLAGS)
27
28$(OBJDIR)/event.$(OBJSUFF): event.c
29 $(CC) -c $(CPPFLAGS) -o $@ event.c
30
31#$(OBJDIR)/event.o: event.rc
32# $(RESCOMP) $(RCINPUTSWITCH) event.rc $(RCOUTPUTSWITCH) $(OBJDIR)/event.o $(RESFLAGS)
33
34clean:
35 rm -f $(OBJECTS) event$(GUISUFFIX).exe core *.rsc *.res