]> git.saurik.com Git - wxWidgets.git/blame - samples/statbar/makefile.twn
Fixed OS/2 compilation problems.
[wxWidgets.git] / samples / statbar / makefile.twn
CommitLineData
2286341c
VZ
1# Purpose: makefile for statbar example (TWIN)
2# Created: 2000-02-04
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)/statbar.$(OBJSUFF) $(OBJDIR)/statbar.$(OBJSUFF)
11
12all: $(OBJDIR) statbar$(GUISUFFIX)$(EXESUFF)
13
14wx:
15
16$(OBJDIR):
17 mkdir $(OBJDIR)
18
19statbar$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o statbar$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
21
22$(OBJDIR)/statbar.$(OBJSUFF): statbar.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ statbar.$(SRCSUFF)
24
25statbar.c: statbar.rc
26 $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) statbar.c $(RESFLAGS)
27
28$(OBJDIR)/statbar.$(OBJSUFF): statbar.c
29 $(CC) -c $(CPPFLAGS) -o $@ statbar.c
30
31#$(OBJDIR)/statbar.o: statbar.rc
32# $(RESCOMP) $(RCINPUTSWITCH) statbar.rc $(RCOUTPUTSWITCH) $(OBJDIR)/statbar.o $(RESFLAGS)
33
34clean:
35 rm -f $(OBJECTS) statbar$(GUISUFFIX).exe core *.rsc *.res