From 84e38d4d91dbad1f7793172d70b7aa04ef846484 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 19 Nov 2001 21:25:35 +0000 Subject: 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 --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 $". # -- cgit v1.2.3