6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile for printing example (UNIX). PRINTING NOT SUPPORTED
11 # UNDER UNIX YET: THIS IS A PLACEHOLDER.
15 # All common UNIX compiler flags and options are now in
16 # this central makefile.
17 include $(WXDIR)/src/makeg95.env
19 OBJECTS=$(OBJDIR)/printing.$(OBJSUFF) $(OBJDIR)/printing_resources.$(OBJSUFF)
21 all: $(OBJDIR) printing$(GUISUFFIX)
26 printing.exe: $(OBJECTS) $(WXLIB)
27 $(CC) $(LDFLAGS) -o printing$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
29 $(OBJDIR)/printing.$(OBJSUFF): printing.$(SRCSUFF) printing.h
30 $(CC) -c $(CPPFLAGS) -o $@ printing.$(SRCSUFF)
32 $(OBJDIR)/printing_resources.o: printing.rc
33 $(RESCOMP) -i printing.rc -o $(OBJDIR)/printing_resources.o $(RESFLAGS)
36 rm -f $(OBJECTS) printing$(GUISUFFIX).exe core *.res *.rsc