summaryrefslogtreecommitdiff
path: root/Examples/php/disown
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/php/disown')
-rw-r--r--Examples/php/disown/Makefile13
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