diff options
Diffstat (limited to 'trunk/Examples/php/overloading/Makefile')
-rw-r--r-- | trunk/Examples/php/overloading/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/trunk/Examples/php/overloading/Makefile b/trunk/Examples/php/overloading/Makefile new file mode 100644 index 000000000..1bc0beaab --- /dev/null +++ b/trunk/Examples/php/overloading/Makefile @@ -0,0 +1,24 @@ +TOP = ../.. +SWIG = $(TOP)/../preinst-swig +CXXSRCS = example.cxx +TARGET = example +INTERFACE = example.i +LIBS = +SWIGOPT = + +all:: + $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ + SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \ + php_cpp + +static:: + $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ + SWIGOPT='$(SWIGOPT)' TARGET='myphp' INTERFACE='$(INTERFACE)' \ + php_cpp_static + +clean:: + $(MAKE) -f $(TOP)/Makefile php_clean + rm -f $(TARGET).php + +check: all + $(MAKE) -f $(TOP)/Makefile php_run |