6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for listtest example (UNIX).
14 # All common UNIX compiler flags and options are now in
15 # this central makefile.
16 include $(WXDIR)/src/makeg95.env
18 OBJECTS = $(OBJDIR)/listtest.$(OBJSUFF) $(OBJDIR)/listtest_resources.$(OBJSUFF)
20 all: $(OBJDIR) listtest$(GUISUFFIX)$(EXESUFF)
27 listtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o listtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
30 $(OBJDIR)/listtest.$(OBJSUFF): listtest.$(SRCSUFF)
31 $(CC) -c $(CPPFLAGS) -o $@ listtest.$(SRCSUFF)
33 $(OBJDIR)/listtest_resources.o: listtest.rc
34 $(RESCOMP) -i listtest.rc -o $(OBJDIR)/listtest_resources.o $(RESFLAGS)
37 rm -f $(OBJECTS) listtest$(GUISUFFIX).exe core *.rsc *.res