summaryrefslogtreecommitdiff
path: root/Examples/GIFPlot/Php/full/Makefile
blob: e33e7a730f7cb4db6b0d99d7f0d6e860b9be295c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TOP        = ../../..
SWIG       = $(TOP)/../swig
SWIGOPT    = -I../../Include -noproxy
SRCS       =
TARGET     = php_gifplot
INTERFACE  = gifplot.i
LIBS       = -L../.. -lgifplot -lm
INCLUDES   = -I../../Include

all::
	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
	INCLUDES='$(INCLUDES)' LIBS='$(LIBS)' SWIGOPT='$(SWIGOPT)' \
	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' php

clean::
	$(MAKE) -f $(TOP)/Makefile php_clean
	rm -f *.gif
	rm -f php_gifplot.h

check: all