1 # Purpose: makefile for splitter 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)/splitter.$(OBJSUFF) $(OBJDIR)/splitter.$(OBJSUFF)
12 all: $(OBJDIR) splitter$(GUISUFFIX)$(EXESUFF)
19 splitter$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
20 $(CC) $(LDFLAGS) -o splitter$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
22 $(OBJDIR)/splitter.$(OBJSUFF): splitter.$(SRCSUFF)
23 $(CC) -c $(CPPFLAGS) -o $@ splitter.$(SRCSUFF)
25 splitter.c: splitter.rc
26 $(RESCOMP) $(RCINPUTSWITCH) splitter.rc $(RCOUTPUTSWITCH) splitter.c $(RESFLAGS)
28 $(OBJDIR)/splitter.$(OBJSUFF): splitter.c
29 $(CC) -c $(CPPFLAGS) -o $@ splitter.c
31 #$(OBJDIR)/splitter.o: splitter.rc
32 # $(RESCOMP) $(RCINPUTSWITCH) splitter.rc $(RCOUTPUTSWITCH) $(OBJDIR)/splitter.o $(RESFLAGS)
35 rm -f $(OBJECTS) splitter$(GUISUFFIX).exe core *.rsc *.res