1 CPPFLAGS=$(shell php-config --includes)
2 CXXFLAGS=-std=gnu++0x $(shell xml2-config --cflags) -fPIC -g
4 LIBS=../c++11/xml-template.o
6 XML_Template_SWIG.so: xml-template_wrap.o
7 $(CXX) $(LDFLAGS) -o $@ $< $(LIBS)
9 xml-template_wrap.cpp XML_Template_SWIG.php php_XML_Template_SWIG.h : xml-template.swig
13 $(RM) XML_Template_SWIG.so xml-template_wrap.o
14 $(RM) xml-template_wrap.cpp XML_Template_SWIG.php php_XML_Template_SWIG.h