From c543cdb77b45722b616fb219d9a454359b064cf3 Mon Sep 17 00:00:00 2001 From: Harco de Hilster Date: Thu, 5 Aug 1999 11:14:47 +0000 Subject: [PATCH] Small fix to correctly generate GENCODEDIR/*.py files. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/wxPython/src/Makefile.pre.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/wxPython/src/Makefile.pre.in b/utils/wxPython/src/Makefile.pre.in index 733998e4a9..c82dbcce9a 100644 --- a/utils/wxPython/src/Makefile.pre.in +++ b/utils/wxPython/src/Makefile.pre.in @@ -347,8 +347,8 @@ $(GENCODEDIR)/%.cpp : %.i swig $(SWIGFLAGS) -c -o $@ $< $(GENCODEDIR)/%.py : %.i - swig $(SWIGFLAGS) -c -o $@ $< - + swig $(SWIGFLAGS) -c -o $(GENCODEDIR)/tmp_wrap.cpp $< + rm $(GENCODEDIR)/tmp_wrap.cpp # This one must leave out the -c flag so we define the whole rule #$(GENCODEDIR)/wx.cpp $(GENCODEDIR)/wx.py : wx.i my_typemaps.i _defs.i _extras.py -- 2.47.2