]> git.saurik.com Git - wxWidgets.git/blob - samples/proplist/makefile.twn
Do not redeclare a struct (w32api 2.2 will have it).
[wxWidgets.git] / samples / proplist / makefile.twn
1 # Purpose: makefile for proplist example (TWIN)
2 # Created: 2000-03-15
3
4 WXDIR = ../..
5
6 # All common UNIX compiler flags and options are now in
7 # this central makefile.
8 include $(WXDIR)/src/maketwin.env
9
10 OBJECTS = $(OBJDIR)/proplist.$(OBJSUFF) $(OBJDIR)/proplist.$(OBJSUFF)
11
12 all: $(OBJDIR) proplist$(GUISUFFIX)$(EXESUFF)
13
14 wx:
15
16 $(OBJDIR):
17 mkdir $(OBJDIR)
18
19 proplist$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o proplist$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
21
22 $(OBJDIR)/proplist.$(OBJSUFF): proplist.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ proplist.$(SRCSUFF)
24
25 proplist.c: proplist.rc
26 $(RESCOMP) $(RCINPUTSWITCH) proplist.rc $(RCOUTPUTSWITCH) proplist.c $(RESFLAGS)
27
28 $(OBJDIR)/proplist.$(OBJSUFF): proplist.c
29 $(CC) -c $(CPPFLAGS) -o $@ proplist.c
30
31 #$(OBJDIR)/proplist.o: proplist.rc
32 # $(RESCOMP) $(RCINPUTSWITCH) proplist.rc $(RCOUTPUTSWITCH) $(OBJDIR)/proplist.o $(RESFLAGS)
33
34 clean:
35 rm -f $(OBJECTS) proplist$(GUISUFFIX).exe core *.rsc *.res