]> git.saurik.com Git - wxWidgets.git/blame - wxPython/samples/embedded/makefile.unx
Some more explainations in places, typos fixed, a little reorg, etc.
[wxWidgets.git] / wxPython / samples / embedded / makefile.unx
CommitLineData
a2426843
RD
1#
2# Makefile for Unix
3#
4# This makefile requires a Unix version of wxWindows
5# to be installed on your system. This is most often
6# done typing "make install" when using the complete
7# sources of wxWindows or by installing the two
8# RPM packages wxGTK.XXX.rpm and wxGTK-devel.XXX.rpm
9# under Linux.
10#
11
12PROGRAM = embedded
13OBJECTS = $(PROGRAM).o
14
5d26a7e6
RD
15EXTRAINC=-I../../src -I/usr/include/python2.2
16EXTRALIB=-L/usr/lib/python2.2/config -lpython2.2
a2426843
RD
17CXX = $(shell wx-config --cxx)
18
19
20.SUFFIXES: .o .cpp
21
22.cpp.o :
5d26a7e6 23 $(CXX) -c `wx-config --cxxflags` $(EXTRAINC) -o $@ $<
a2426843
RD
24
25all: $(PROGRAM)
26
27$(PROGRAM): $(OBJECTS)
5d26a7e6 28 $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` $(EXTRALIB)
a2426843
RD
29
30clean:
31 rm -f *.o $(PROGRAM)