]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/gizmos/multicell/makefile.twn
A clarification
[wxWidgets.git] / contrib / samples / gizmos / multicell / makefile.twn
CommitLineData
58580a7e
JS
1# Purpose: makefile for multicell example (TWIN)
2# Created 2000-07-28
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)/mtest.$(OBJSUFF) $(OBJDIR)/multicell.$(OBJSUFF)
11EXTRAINC=-I../include
12
13all: $(OBJDIR) mtest$(GUISUFFIX)$(EXESUFF)
14
15wx:
16
17$(OBJDIR):
18 mkdir $(OBJDIR)
19
20mtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
21 $(CC) $(LDFLAGS) -o mtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
22
23$(OBJDIR)/mtest.$(OBJSUFF): mtest.$(SRCSUFF)
24 $(CC) -c $(CPPFLAGS) -o $@ mtest.$(SRCSUFF)
25
26$(OBJDIR)/multicell.$(OBJSUFF): multicell.$(SRCSUFF)
27 $(CC) -c $(CPPFLAGS) -o $@ multicell.$(SRCSUFF)
28
29mtest.c: mtest.rc
30 $(RESCOMP) $(RCINPUTSWITCH) mtest.rc $(RCOUTPUTSWITCH) mtest.c $(RESFLAGS)
31
32$(OBJDIR)/mtest.$(OBJSUFF): mtest.c
33 $(CC) -c $(CPPFLAGS) -o $@ mtest.c
34
35#$(OBJDIR)/mtest.o: mtest.rc
36# $(RESCOMP) $(RCINPUTSWITCH) mtest.rc $(RCOUTPUTSWITCH) $(OBJDIR)/mtest.o $(RESFLAGS)
37
38clean:
39 rm -f $(OBJECTS) mtest$(GUISUFFIX).exe core *.rsc *.res