]> git.saurik.com Git - wxWidgets.git/blob - samples/printing/makefile.g95
* fixed a wrong line.
[wxWidgets.git] / samples / printing / makefile.g95
1 #
2 # File: makefile.g95
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile for printing example (UNIX). PRINTING NOT SUPPORTED
11 # UNDER UNIX YET: THIS IS A PLACEHOLDER.
12
13 WXDIR = ../..
14
15 # All common UNIX compiler flags and options are now in
16 # this central makefile.
17 include $(WXDIR)/src/makeg95.env
18
19 OBJECTS=$(OBJDIR)/printing.$(OBJSUFF) $(OBJDIR)/printing_resources.$(OBJSUFF)
20
21 all: $(OBJDIR) printing$(GUISUFFIX)
22
23 $(OBJDIR):
24 mkdir $(OBJDIR)
25
26 printing.exe: $(OBJECTS) $(WXLIB)
27 $(CC) $(LDFLAGS) -o printing$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
28
29 $(OBJDIR)/printing.$(OBJSUFF): printing.$(SRCSUFF) printing.h
30 $(CC) -c $(CPPFLAGS) -o $@ printing.$(SRCSUFF)
31
32 $(OBJDIR)/printing_resources.o: printing.rc
33 $(RESCOMP) -i printing.rc -o $(OBJDIR)/printing_resources.o $(RESFLAGS)
34
35 clean:
36 rm -f $(OBJECTS) printing$(GUISUFFIX).exe core *.res *.rsc
37