summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 3115ff8fc..ea34aee84 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
#
-# "$Id: Makefile,v 1.12.2.1 1999/03/25 15:44:12 mike Exp $"
+# "$Id: Makefile,v 1.12.2.2 2000/04/25 22:15:39 mike Exp $"
#
# Top-level makefile for the Fast Light Tool Kit (FLTK).
#
-# Copyright 1998-1999 by Bill Spitzak and others.
+# Copyright 1998-2000 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -33,7 +33,7 @@ all: makeinclude
if test ! -f $$dir/makedepend; then\
touch $$dir/makedepend;\
fi;\
- (cd $$dir;$(MAKE));\
+ (cd $$dir; $(MAKE) -$(MAKEFLAGS)) || break;\
done
install: makeinclude
@@ -42,8 +42,9 @@ install: makeinclude
if test ! -f $$dir/makedepend; then\
touch $$dir/makedepend;\
fi;\
- (cd $$dir;$(MAKE) install);\
+ (cd $$dir; $(MAKE) -$(MAKEFLAGS) install) || break;\
done
+ (cd documentation; $(MAKE) -$(MAKEFLAGS) install)
depend: makeinclude
@for dir in $(DIRS); do\
@@ -51,14 +52,14 @@ depend: makeinclude
if test ! -f $$dir/makedepend; then\
touch $$dir/makedepend;\
fi;\
- (cd $$dir;$(MAKE) depend);\
+ (cd $$dir; $(MAKE) -$(MAKEFLAGS) depend) || break;\
done
clean:
-@ rm -f core config.cache *.o *.bck
@for dir in $(DIRS); do\
echo "=== cleaning $$dir ===";\
- (cd $$dir;$(MAKE) clean);\
+ (cd $$dir; $(MAKE) -$(MAKEFLAGS) clean) || break;\
done
distclean: clean
@@ -68,5 +69,5 @@ makeinclude: configure configh.in makeinclude.in
./configure
#
-# End of "$Id: Makefile,v 1.12.2.1 1999/03/25 15:44:12 mike Exp $".
+# End of "$Id: Makefile,v 1.12.2.2 2000/04/25 22:15:39 mike Exp $".
#