From 7486258e5d2deaa4416aa64b1bf060a1bbafac46 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 21 Oct 1998 16:49:59 +0000 Subject: [PATCH] Fixed dependency stuff in top-level Makefile. git-svn-id: file:///fltk/svn/fltk/trunk@34 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6ac6ebf4c..9d49a7828 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile,v 1.4 1998/10/21 14:18:53 mike Exp $" +# "$Id: Makefile,v 1.5 1998/10/21 16:49:59 mike Exp $" # # Top-level makefile for the Fast Light Tool Kit (FLTK). # @@ -27,15 +27,21 @@ SHELL=/bin/sh DIRS = src fluid test -all: depend +all: for dir in $(DIRS); do\ echo "=== making $$dir ===";\ + if test ! -f $$dir/makedepend; then\ + touch $$dir/makedepend;\ + fi;\ (cd $$dir;$(MAKE));\ done install: all for dir in $(DIRS); do\ echo "=== installing $$dir ===";\ + if test ! -f $$dir/makedepend; then\ + touch $$dir/makedepend;\ + fi;\ (cd $$dir;$(MAKE) install);\ done @@ -43,7 +49,7 @@ depend: for dir in $(DIRS); do\ echo "=== making dependencies in $$dir ===";\ if test ! -f $$dir/makedepend; then\ - touch 0101000070 $$dir/makedepend;\ + touch $$dir/makedepend;\ fi;\ (cd $$dir;$(MAKE) depend);\ done @@ -56,5 +62,5 @@ clean: done # -# End of "$Id: Makefile,v 1.4 1998/10/21 14:18:53 mike Exp $". +# End of "$Id: Makefile,v 1.5 1998/10/21 16:49:59 mike Exp $". #