summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-26 14:22:02 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-26 14:22:02 +0000
commit1cfc6385dd1def16ce809793ff6358eb69d6f770 (patch)
tree99ec0fc68475bc4dc4d811d51f1dca0ce69f89f4 /Makefile
parent7ce42e25927a18323aabe87e006a6f699aaf3f25 (diff)
BMP image loader fixes.
JPEG with Cygwin fix. Make sure that all generated files are removed with a "make distclean". Make sure we remove the autoconf cache directory when building the source distribution. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 19 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index e3588caf5..5bbc7ca7c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.12.2.6.2.11 2002/05/01 19:35:53 easysw Exp $"
+# "$Id: Makefile,v 1.12.2.6.2.12 2002/07/26 14:22:01 easysw Exp $"
#
# Top-level makefile for the Fast Light Tool Kit (FLTK).
#
@@ -25,47 +25,54 @@
include makeinclude
-SHELL = /bin/sh
DIRS = src fluid test documentation
all: makeinclude
- @for dir in $(DIRS); do\
+ for dir in $(DIRS); do\
echo "=== making $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS)) || break;\
done
install: makeinclude
-mkdir -p $(bindir)
- rm -f $(bindir)/fltk-config
+ $(RM) $(bindir)/fltk-config
-cp fltk-config $(bindir)
-chmod 755 $(bindir)/fltk-config
- @for dir in FL $(DIRS); do\
+ for dir in FL $(DIRS); do\
echo "=== installing $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) install) || break;\
done
uninstall: makeinclude
- rm -f $(bindir)/fltk-config
- @for dir in FL $(DIRS); do\
+ $(RM) $(bindir)/fltk-config
+ for dir in FL $(DIRS); do\
echo "=== uninstalling $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) uninstall) || break;\
done
depend: makeinclude
- @for dir in $(DIRS); do\
+ for dir in $(DIRS); do\
echo "=== making dependencies in $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) depend) || break;\
done
clean:
- -@ rm -f core *.o
- @for dir in $(DIRS); do\
+ -$(RM) core *.o
+ for dir in $(DIRS); do\
echo "=== cleaning $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) clean) || break;\
done
distclean: clean
- rm -f config.* makeinclude
+ -$(RM) config.*
+ $(RM) fltk-config fltk.list makeinclude
+ $(RM) FL/Makefile
+ $(RM) doc/*.$(CAT1EXT) doc/*.$(CAT3EXT)
+ $(RM) -r doc/fltk.pdf doc/fltk.ps doc/fltk.d
+ for file in test/*.fl; do\
+ $(RM) `basename $file .fl`.cxx; \
+ $(RM) `basename $file .fl`.h; \
+ done
makeinclude: configure configh.in makeinclude.in
if test -f config.status; then \
@@ -87,5 +94,5 @@ native-dist:
#
-# End of "$Id: Makefile,v 1.12.2.6.2.11 2002/05/01 19:35:53 easysw Exp $".
+# End of "$Id: Makefile,v 1.12.2.6.2.12 2002/07/26 14:22:01 easysw Exp $".
#