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
13 OBJECTS = $(PROGRAM).o
18 EXTRAINC=-I../../include -I/usr/include/python$(PYVER)
19 EXTRALIB=-L/usr/lib/python$(PYVER)/config -lpython$(PYVER)
20 CXX = $(shell $(WX_CFG) --cxx)
26 $(CXX) -c -g `$(WX_CFG) --cxxflags` $(EXTRAINC) -o $@ $<
30 $(PROGRAM): $(OBJECTS)
31 $(CXX) -g -o $(PROGRAM) $(OBJECTS) `$(WX_CFG) --libs` $(EXTRALIB)