diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-13 01:12:36 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-19 22:47:26 +0100 |
commit | 0fa791d1ea9e79d54e9e934e5527876221104b52 (patch) | |
tree | 9096b8c3db5474dba2d7734c8767b4162e51e571 /Examples/php/disown | |
parent | 92ffedceb50188d309dfc9587dc0f83b31020209 (diff) | |
download | swig-0fa791d1ea9e79d54e9e934e5527876221104b52.tar.gz |
PHP examples makefiles clean target fixed and use RUNPIPE and tidyup
Diffstat (limited to 'Examples/php/disown')
-rw-r--r-- | Examples/php/disown/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Examples/php/disown/Makefile b/Examples/php/disown/Makefile index 1bc0beaab..cefd81f78 100644 --- a/Examples/php/disown/Makefile +++ b/Examples/php/disown/Makefile @@ -6,19 +6,18 @@ INTERFACE = example.i LIBS = SWIGOPT = -all:: +check: build + $(MAKE) -f $(TOP)/Makefile php_run + +build: $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \ php_cpp -static:: +static: $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ SWIGOPT='$(SWIGOPT)' TARGET='myphp' INTERFACE='$(INTERFACE)' \ php_cpp_static -clean:: +clean: $(MAKE) -f $(TOP)/Makefile php_clean - rm -f $(TARGET).php - -check: all - $(MAKE) -f $(TOP)/Makefile php_run |