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