PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/php/variables/Makefile

#
Makefile | 24 lines | 20 code | 4 blank | 0 comment | 0 complexity | 3f03ebf374243b2a07c00cb4fb226cc2 MD5 | raw file
 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	php
13
14static::
15	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
16	SWIGOPT='$(SWIGOPT)' TARGET='myphp' INTERFACE='$(INTERFACE)' \
17	php_static
18
19clean::
20	$(MAKE) -f $(TOP)/Makefile php_clean
21	rm -f $(TARGET).php
22
23check: all
24	$(MAKE) -f $(TOP)/Makefile php_run