summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-19 21:25:35 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-19 21:25:35 +0000
commit84e38d4d91dbad1f7793172d70b7aa04ef846484 (patch)
tree3cdef2b2623545199c7874d188118b587c583e07 /Makefile
parent13e7d7639729cc0fb9b778ecd2e45d407d45d393 (diff)
Move header installs to new FL/Makefile, which is generated by
configure. Comment out symlink stuff for Cygwin, and (hopefully) soon for OSX, too. Add uninstall targets where needed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 60f0c5be4..93926588f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.12.2.6.2.6 2001/09/30 12:30:13 easysw Exp $"
+# "$Id: Makefile,v 1.12.2.6.2.7 2001/11/19 21:25:34 easysw Exp $"
#
# Top-level makefile for the Fast Light Tool Kit (FLTK).
#
@@ -35,16 +35,22 @@ all: makeinclude
done
install: makeinclude
- @for dir in $(DIRS); do\
+ @for dir in FL $(DIRS) documentation; do\
echo "=== installing $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) install) || break;\
done
- (cd documentation; $(MAKE) $(MFLAGS) install)
-mkdir -p $(bindir)
rm -f $(bindir)/fltk-config
-cp fltk-config $(bindir)
-chmod +x $(bindir)/fltk-config
+uninstall: makeinclude
+ @for dir in FL $(DIRS) documentation; do\
+ echo "=== uninstalling $$dir ===";\
+ (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || break;\
+ done
+ rm -f $(bindir)/fltk-config
+
depend: makeinclude
@for dir in $(DIRS); do\
echo "=== making dependencies in $$dir ===";\
@@ -73,5 +79,5 @@ configure: configure.in
autoconf
#
-# End of "$Id: Makefile,v 1.12.2.6.2.6 2001/09/30 12:30:13 easysw Exp $".
+# End of "$Id: Makefile,v 1.12.2.6.2.7 2001/11/19 21:25:34 easysw Exp $".
#