PROGRAM = embedded
OBJECTS = $(PROGRAM).o
-EXTRAINC=-I../../src -I/usr/include/python2.2
-EXTRALIB=-L/usr/lib/python2.2/config -lpython2.2
-CXX = $(shell wx-config --cxx)
+#WX_CFG = wx-config
+WX_CFG = wxgtk2ud-2.5-config
+
+EXTRAINC=-I../../include -I/usr/include/python2.3
+EXTRALIB=-L/usr/lib/python2.3/config -lpython2.3
+CXX = $(shell $(WX_CFG) --cxx)
.SUFFIXES: .o .cpp
.cpp.o :
- $(CXX) -c `wx-config --cxxflags` $(EXTRAINC) -o $@ $<
+ $(CXX) -c -g `$(WX_CFG) --cxxflags` $(EXTRAINC) -o $@ $<
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
- $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` $(EXTRALIB)
+ $(CXX) -g -o $(PROGRAM) $(OBJECTS) `$(WX_CFG) --libs` $(EXTRALIB)
clean:
rm -f *.o $(PROGRAM)