]> git.saurik.com Git - wxWidgets.git/blob - samples/mdi/makefile.twn
more wxPostEvent MT fixes
[wxWidgets.git] / samples / mdi / makefile.twn
1 #
2 # File: makefile.unx
3 # Author: Julian Smart
4 # Created: 1999
5 # Updated:
6 #
7 # Makefile for mdi example (UNIX, TWIN32)
8
9 WXDIR = ../..
10
11 # All common UNIX compiler flags and options are now in
12 # this central makefile.
13 include $(WXDIR)/src/maketwin.env
14
15 OBJECTS = $(OBJDIR)/mdi.$(OBJSUFF) $(OBJDIR)/mdi_resources.$(OBJSUFF)
16
17 all: $(OBJDIR) mdi$(GUISUFFIX)$(EXESUFF)
18
19 wx:
20
21 $(OBJDIR):
22 mkdir $(OBJDIR)
23
24 mdi$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
25 $(CC) $(LDFLAGS) -o mdi$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
26
27 $(OBJDIR)/mdi.$(OBJSUFF): mdi.$(SRCSUFF)
28 $(CC) -c $(CPPFLAGS) -o $@ mdi.$(SRCSUFF)
29
30 mdi_resources.c: mdi.rc
31 $(RESCOMP) $(RCINPUTSWITCH) mdi.rc $(RCOUTPUTSWITCH) mdi_resources.c $(RESFLAGS)
32
33 $(OBJDIR)/mdi_resources.$(OBJSUFF): mdi_resources.c
34 $(CC) -c $(CPPFLAGS) -o $@ mdi_resources.c
35
36 clean:
37 rm -f $(OBJECTS) mdi.exe core *.rsc *.res