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/constants/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/constants/Makefile')
| -rw-r--r-- | Examples/python/constants/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Examples/python/constants/Makefile b/Examples/python/constants/Makefile index 1420b4e0b..505f199de 100644 --- a/Examples/python/constants/Makefile +++ b/Examples/python/constants/Makefile @@ -4,17 +4,16 @@ SRCS = TARGET = example INTERFACE = example.i -all:: +check: build + $(MAKE) -f $(TOP)/Makefile python_run + +build: $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python -static:: +static: $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ TARGET='mypython' INTERFACE='$(INTERFACE)' python_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 |
