]> git.saurik.com Git - wxWidgets.git/blame - samples/proplist/makefile.twn
overflow fix
[wxWidgets.git] / samples / proplist / makefile.twn
CommitLineData
eeb75ae6
RL
1# Purpose: makefile for proplist example (TWIN)
2# Created: 2000-03-15
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)/proplist.$(OBJSUFF) $(OBJDIR)/proplist.$(OBJSUFF)
11
12all: $(OBJDIR) proplist$(GUISUFFIX)$(EXESUFF)
13
14wx:
15
16$(OBJDIR):
17 mkdir $(OBJDIR)
18
19proplist$(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
25proplist.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
34clean:
35 rm -f $(OBJECTS) proplist$(GUISUFFIX).exe core *.rsc *.res