# # (Re)builds PHP API. PHP classes must be defined in a single file. # # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # # $Id: Makefile,v 1.1 2006/10/25 20:32:44 mlhuang Exp $ # all: plc_api.php methods.php: methods.py ../PLC/__init__.py ../PLC/Methods/__init__.py PYTHONPATH=.. python $< | \ sed -e "s/^/ /" > $@ plc_api.php: header.php methods.php footer.php sed -e "s/@DATE@/$$(date)/" header.php | \ cat - methods.php footer.php > $@ clean: rm -f plc_api.php methods.php .PHONY: all clean