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