1 # Purpose: makefile for multicell example (TWIN)
6 # All common UNIX compiler flags and options are now in
7 # this central makefile.
8 include $(WXDIR)/src/maketwin.env
10 OBJECTS = $(OBJDIR)/mtest.$(OBJSUFF) $(OBJDIR)/multicell.$(OBJSUFF)
13 all: $(OBJDIR) mtest$(GUISUFFIX)$(EXESUFF)
20 mtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
21 $(CC) $(LDFLAGS) -o mtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
23 $(OBJDIR)/mtest.$(OBJSUFF): mtest.$(SRCSUFF)
24 $(CC) -c $(CPPFLAGS) -o $@ mtest.$(SRCSUFF)
26 $(OBJDIR)/multicell.$(OBJSUFF): multicell.$(SRCSUFF)
27 $(CC) -c $(CPPFLAGS) -o $@ multicell.$(SRCSUFF)
30 $(RESCOMP) $(RCINPUTSWITCH) mtest.rc $(RCOUTPUTSWITCH) mtest.c $(RESFLAGS)
32 $(OBJDIR)/mtest.$(OBJSUFF): mtest.c
33 $(CC) -c $(CPPFLAGS) -o $@ mtest.c
35 #$(OBJDIR)/mtest.o: mtest.rc
36 # $(RESCOMP) $(RCINPUTSWITCH) mtest.rc $(RCOUTPUTSWITCH) $(OBJDIR)/mtest.o $(RESFLAGS)
39 rm -f $(OBJECTS) mtest$(GUISUFFIX).exe core *.rsc *.res