6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for regtest 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)/regtest.$(OBJSUFF) $(OBJDIR)/regtest_resources.$(OBJSUFF)
20 all: $(OBJDIR) regtest$(GUISUFFIX)$(EXESUFF)
27 regtest$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
28 $(CC) $(LDFLAGS) -o regtest$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
30 $(OBJDIR)/regtest.$(OBJSUFF): regtest.$(SRCSUFF)
31 $(CC) -c $(CPPFLAGS) -o $@ regtest.$(SRCSUFF)
33 $(OBJDIR)/regtest_resources.o: regtest.rc
34 $(RESCOMP) -i regtest.rc -o $(OBJDIR)/regtest_resources.o $(RESFLAGS)
37 rm -f $(OBJECTS) regtest$(GUISUFFIX).exe core *.rsc *.res