Fixed dependency stuff in top-level Makefile.

git-svn-id: file:///fltk/svn/fltk/trunk@34 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1998-10-21 16:49:59 +00:00
parent f67e90bc2f
commit 7486258e5d

View File

@ -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 $".
#