diff options
| author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-13 21:44:04 +0100 |
|---|---|---|
| committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-19 22:47:26 +0100 |
| commit | cc4ac0a9e93104ee435b50b9532dc1ca1a84bf03 (patch) | |
| tree | b41e3d090fdc77ec7271c4a251ea83daf5d58762 /Examples/python/operator/Makefile | |
| parent | 0fa791d1ea9e79d54e9e934e5527876221104b52 (diff) | |
| download | swig-cc4ac0a9e93104ee435b50b9532dc1ca1a84bf03.tar.gz | |
Python examples makefiles clean target fixed and use RUNPIPE and tidyup
Diffstat (limited to 'Examples/python/operator/Makefile')
| -rw-r--r-- | Examples/python/operator/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Examples/python/operator/Makefile b/Examples/python/operator/Makefile index fe389757a..6ef158379 100644 --- a/Examples/python/operator/Makefile +++ b/Examples/python/operator/Makefile @@ -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)' \ 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 |
