/tags/rel-1.3.35/Examples/php4/simple/Makefile
Makefile | 24 lines | 20 code | 4 blank | 0 comment | 0 complexity | 03a03a90f3c1d92cc97463060ccde11a MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1TOP = ../..
2SWIG = $(TOP)/../preinst-swig
3SRCS = example.c
4TARGET = example
5INTERFACE = example.i
6LIBS =
7SWIGOPT =
8
9all::
10 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
11 SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
12 php4
13
14static::
15 $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
16 SWIGOPT='$(SWIGOPT)' TARGET='myphp4' INTERFACE='$(INTERFACE)' \
17 php4_static
18
19clean::
20 $(MAKE) -f $(TOP)/Makefile php4_clean
21 rm -f $(TARGET).php
22
23check: all
24 $(MAKE) -f $(TOP)/Makefile php4_run