Python examples makefiles clean target fixed and use RUNPIPE and tidyup

This commit is contained in:
William S Fulton 2013-04-13 21:44:04 +01:00
commit cc4ac0a9e9
35 changed files with 232 additions and 275 deletions

View file

@ -6,17 +6,16 @@ INTERFACE = example.i
LIBS = -lm
SWIGOPT =
all::
check: build
$(MAKE) -f $(TOP)/Makefile python_run
build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
static::
static:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
clean::
$(MAKE) -f $(TOP)/Makefile python_clean
rm -f $(TARGET).py
check: all
$(MAKE) -f $(TOP)/Makefile python_run
clean:
$(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' python_clean