swig/Examples/php/pointer/Makefile
William S Fulton 4c03864ce9 rename php4 to php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-22 12:35:27 +00:00

24 lines
555 B
Makefile

TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i
LIBS =
SWIGOPT =
all::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
php4
static::
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='myphp4' INTERFACE='$(INTERFACE)' \
php4_static
clean::
$(MAKE) -f $(TOP)/Makefile php4_clean
rm -f $(TARGET).php
check: all
$(MAKE) -f $(TOP)/Makefile php4_run