]> git.saurik.com Git - wxWidgets.git/blame - samples/printing/makefile.unx
reSWIGged
[wxWidgets.git] / samples / printing / makefile.unx
CommitLineData
cb148def
RR
1#
2# File: Makefile for samples
3# Author: Robert Roebling
4# Created: 1999
5# Updated:
6# Copyright: (c) 1998 Robert Roebling
7#
8# This makefile requires a Unix version of wxWindows
9# to be installed on your system. This is most often
10# done typing "make install" when using the complete
11# sources of wxWindows or by installing the two
12# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm
13# under Linux.
14#
15
a6f762a6 16CXX = $(shell wx-config --cxx)
cb148def 17
c4fda16b 18PROGRAM = printing
cb148def
RR
19
20$(PROGRAM): $(PROGRAM).o
a6f762a6 21 $(CXX) -o $(PROGRAM) \
cb148def
RR
22 $(PROGRAM).o `wx-config --libs`
23
24$(PROGRAM).o: $(PROGRAM).cpp
a6f762a6 25 $(CXX) `wx-config --cxxflags` -c $(PROGRAM).cpp
cb148def
RR
26
27clean:
28 rm -f *.o $(PROGRAM)