From: <sg...@us...> - 2003-08-31 20:21:11
|
Update of /cvsroot/libfunutil/libfunutil In directory sc8-pr-cvs1:/tmp/cvs-serv19558 Modified Files: Makefile Log Message: removed some comment blather. Index: Makefile =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Makefile 31 Aug 2003 00:50:26 -0000 1.9 +++ Makefile 31 Aug 2003 20:21:08 -0000 1.10 @@ -4,19 +4,17 @@ SUBDIRS = lib util tests include SUBDIRS += doc SUBDIRS += toc -# Your project only needs to include the 'toc' subdir if you are going -# to do a 'make dist', so the end user can configure the tree. -cleanorder = lib include -#clean: $(patsubst %,clean-%,$(cleanorder)) -#distclean: $(patsubst %,distclean-%,$(cleanorder)) -# You should clean in reverse order of normal build so, generally speaking, -# but this depends largely on your tree. In this particular case -# the clean will fail if we don't re-order, because of the heavy dependencies -# on include/config.h. deps.make tries to generate deps and can't find -# config.h, so it gets pissed off. -# This re-ordering must currently be done before toc.make is included. :/ + + +# note: we re-order the clean deps to make sure the shared makefile and config.h +# don't get deleted until near the end. +cleanorder = toc doc tests util lib include . +clean: $(patsubst %,clean-%,$(cleanorder)) +distclean: $(patsubst %,distclean-%,$(cleanorder)) include toc.make + + # include toc.make to get toc's goodies # Unfortunately, toc.make must be included after SUBDIRS (if any) are declared. # That's an implementation detail i'll deal with later. |