X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=8ce40514702e15c1abc22021a05ce5d154739fe2;hb=286e4963a987e2478baca5050e805516e2b7fbd0;hp=aacbe3a0ddf4bc27f9ae4f7df800b11852c2acf0;hpb=e6f1cfc3e60c97f756858da04067e060d5d491d1;p=plcapi.git diff --git a/Makefile b/Makefile index aacbe3a..8ce4051 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Makefile,v 1.1 2006/09/06 15:33:59 mlhuang Exp $ +# $Id: Makefile,v 1.2 2006/10/25 21:05:40 mlhuang Exp $ # # Metafiles @@ -19,10 +19,12 @@ $(SUBDIRS): %: $(MAKE) -C $@ clean: - find . -name '*.pyc' -execdir rm -f {} + + find . -name '*.pyc' -execdir rm -f {} \; rm -f $(INIT) for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir clean ; done +index: PLC/__init__.py PLC/Methods/__init__.py + # All .py files in PLC/ PLC := $(filter-out %/__init__.py, $(wildcard PLC/*.py)) PLC_init := all = '$(notdir $(PLC:.py=))'.split()