TARGETDIR=..
#TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
+SEPARATE=-DSEPARATE
wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
- frames.cpp stattool.cpp utils.cpp windows3.cpp \
+ frames.cpp stattool.cpp windows3.cpp \
# CFLAGS
-I. -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
-I/usr/X11R6/include -DSWIG_GLOBAL -D__WXGTK__ \
+ -DWXP_WITH_THREAD $(SEPARATE) \
+ #-D__WXDEBUG__ \
+ # LFLAGS
+ -L$(WXWIN)/lib/Linux -L/usr/X11R6/lib \
+ -lwx_gtk2 -lgtk -lgdk -lglib -lXext -lX11
+
+utilsc utils.cpp \
+ # CFLAGS
+ -I. -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
+ -I/usr/X11R6/include -DSWIG_GLOBAL -D__WXGTK__ \
+ -DWXP_WITH_THREAD $(SEPARATE) \
#-D__WXDEBUG__ \
# LFLAGS
-L$(WXWIN)/lib/Linux -L/usr/X11R6/lib \