Update for PHP 7.
[itkacl] / php7-itkacl-2.0 / Makefile
similarity index 86%
rename from php5-itkacl-2.0/Makefile
rename to php7-itkacl-2.0/Makefile
index 74968dcb867e2042190ccd270b0bc3f88ee13ad6..e282a1edf9163037eaad310185d8cfc261602970 100644 (file)
@@ -8,8 +8,8 @@ php_itkacl.so: itkacl_wrap.o
 itkacl_wrap.o: itkacl_wrap.cpp
        $(CXX) $(shell php-config --includes) $(CXXFLAGS) -c itkacl_wrap.cpp -o itkacl_wrap.o
 
-itkacl_wrap.cpp:
-       swig -php5 -c++ itkacl.i
+itkacl_wrap.cpp: itkacl.i
+       swig -php7 -noproxy -c++ -cppext cpp itkacl.i
 
 clean:
        $(RM) itkacl.php itkacl_wrap.cpp itkacl_wrap.o php_itkacl.h php_itkacl.so