# This is really the wxPython version number, and will be placed in the
# Makefiles for use with the distribution related targets.
-__version__ = '2.1.4'
+__version__ = '2.1.12'
#----------------------------------------------------------------------------
%%.o : $(GENCODEDIR)/%%.c
$(CC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
+ifndef NOSWIG
$(GENCODEDIR)/%%.cpp : %%.i
swig $(SWIGFLAGS) -c -o $@ $<
$(GENCODEDIR)/%%.py : %%.i
swig $(SWIGFLAGS) -c -o $(GENCODEDIR)/tmp_wrap.cpp $<
rm $(GENCODEDIR)/tmp_wrap.cpp
+endif
+
$(TARGETDIR)/%% : %%
cp -f $< $@
$(TARGETDIR) :
- mkdir $(TARGETDIR)
+ mkdir -p $(TARGETDIR)
$(GENCODEDIR):
mkdir $(GENCODEDIR)
#----------------------------------------------------------------------------
if __name__ == '__main__':
- main(sys.argv)
+ err = main(sys.argv)
+ sys.exit(err)
#----------------------------------------------------------------------------