summaryrefslogtreecommitdiff
path: root/Examples/php/pointer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/php/pointer/Makefile')
-rw-r--r--Examples/php/pointer/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Examples/php/pointer/Makefile b/Examples/php/pointer/Makefile
index 0862ce5ec..57785acc7 100644
--- a/Examples/php/pointer/Makefile
+++ b/Examples/php/pointer/Makefile
@@ -6,19 +6,18 @@ INTERFACE = example.i
LIBS =
SWIGOPT =
-all::
+check: build
+ $(MAKE) -f $(TOP)/Makefile php_run
+
+build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
php
-static::
+static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='myphp' INTERFACE='$(INTERFACE)' \
php_static
-clean::
+clean:
$(MAKE) -f $(TOP)/Makefile php_clean
- rm -f $(TARGET).php
-
-check: all
- $(MAKE) -f $(TOP)/Makefile php_run