]> git.saurik.com Git - wxWidgets.git/blame - samples/printing/makefile.g95
ExpandEnvVars was eating backslashes - no more.
[wxWidgets.git] / samples / printing / makefile.g95
CommitLineData
99025f6e
JS
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
13WXDIR = ../..
14
15# All common UNIX compiler flags and options are now in
16# this central makefile.
17include $(WXDIR)/src/makeg95.env
18
19OBJECTS=$(OBJDIR)/printing.$(OBJSUFF) $(OBJDIR)/printing_resources.$(OBJSUFF)
20
21all: $(OBJDIR) printing$(GUISUFFIX)
22
23$(OBJDIR):
24 mkdir $(OBJDIR)
25
26printing.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
35clean:
36 rm -f $(OBJECTS) printing$(GUISUFFIX).exe core *.res *.rsc
37