From: Andre P. <at...@us...> - 2004-05-12 08:59:49
|
Update of /cvsroot/hoc/hoc/HOC In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5553/HOC Modified Files: Makefile.in Log Message: Better dependency checking in Makefiles: now a "make && make install" doesn't cause the make install to rebuild a whole bunch of things it doesn't need to Index: Makefile.in =================================================================== RCS file: /cvsroot/hoc/hoc/HOC/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.in 12 May 2004 05:44:10 -0000 1.1 +++ Makefile.in 12 May 2004 08:59:38 -0000 1.2 @@ -2,7 +2,7 @@ all: libHOC.a HOC.o -libHOC.a: ghcmake +libHOC.a: ghcmake.build-stamp find build/objects/ -name \*.o | xargs $(MAKE_STATIC_LIB) libHOC.a #libHOC.dylib: ghcmake @@ -12,7 +12,9 @@ HOC.o: libHOC.a ld -r -x -o HOC.o $(ALL_LOAD) libHOC.a -ghcmake: +ghcmake: ghcmake.build-stamp + +ghcmake.build-stamp: mkdir -p build/objects mkdir -p build/imports ghc --make HOC.hs \ @@ -24,7 +26,7 @@ $(FOUNDATION_INCLUDES) \ $(FOUNDATION_LIBS) \ $(DEFINES) - + touch $@ clean: rm -rf libHOC.a HOC.o build \ |