]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/event/makefile.twn
don't define _puttchar ourselves when using newest mingw runtime
[wxWidgets.git] / samples / event / makefile.twn
... / ...
CommitLineData
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