6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for Buttonbar example (UNIX).
11 # Change the WXDIR directory, and CPPFLAGS and LDFLAGS, for your system.
15 # All common UNIX compiler flags and options are now in
16 # this central makefile.
17 include $(WXDIR)/src/makeg95.env
19 TESTOBJECTS = $(OBJDIR)/test.$(OBJSUFF) $(OBJDIR)/test_resources.$(OBJSUFF)
20 TESTPROGRAM = test$(GUISUFFIX)
22 all: $(OBJDIR) $(TESTPROGRAM)
29 $(OBJDIR)/test.$(OBJSUFF): test.h test.$(SRCSUFF)
30 $(CC) -c $(CPPFLAGS) -o $@ test.$(SRCSUFF)
32 $(TESTPROGRAM): $(TESTOBJECTS) $(WXLIB)
33 $(CC) $(LDFLAGS) -o test$(GUISUFFIX)$(EXESUFF) $(TESTOBJECTS) $(LDLIBS)
35 $(OBJDIR)/test_resources.o: test.rc
36 $(RESCOMP) -i test.rc -o $(OBJDIR)/test_resources.o $(RESFLAGS)
39 rm -f $(OBJECTS) test$(GUISUFFIX).exe $(TESTOBJECTS) core *.res *.rsc