Fixed install targets...

git-svn-id: file:///fltk/svn/fltk/trunk@51 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
1998-10-21 22:03:53 +00:00
parent 2bc3c94ce5
commit 60399e3945
3 changed files with 13 additions and 9 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
# #
# "$Id: Makefile,v 1.5 1998/10/21 16:49:59 mike Exp $" # "$Id: Makefile,v 1.6 1998/10/21 22:03:51 mike Exp $"
# #
# Top-level makefile for the Fast Light Tool Kit (FLTK). # Top-level makefile for the Fast Light Tool Kit (FLTK).
# #
@@ -36,7 +36,7 @@ all:
(cd $$dir;$(MAKE));\ (cd $$dir;$(MAKE));\
done done
install: all install:
for dir in $(DIRS); do\ for dir in $(DIRS); do\
echo "=== installing $$dir ===";\ echo "=== installing $$dir ===";\
if test ! -f $$dir/makedepend; then\ if test ! -f $$dir/makedepend; then\
@@ -62,5 +62,5 @@ clean:
done done
# #
# End of "$Id: Makefile,v 1.5 1998/10/21 16:49:59 mike Exp $". # End of "$Id: Makefile,v 1.6 1998/10/21 22:03:51 mike Exp $".
# #
+5 -4
View File
@@ -1,5 +1,5 @@
# #
# "$Id: Makefile,v 1.4 1998/10/21 14:20:37 mike Exp $" # "$Id: Makefile,v 1.5 1998/10/21 22:03:52 mike Exp $"
# #
# Library makefile for the Fast Light Tool Kit (FLTK). # Library makefile for the Fast Light Tool Kit (FLTK).
# #
@@ -174,12 +174,13 @@ include makedepend
install: ../lib/$(LIBNAME) install: ../lib/$(LIBNAME)
-mkdir -p $(libdir) -mkdir -p $(libdir)
cp -f ../lib/$(LIBNAME) $(libdir) cp ../lib/$(LIBNAME) $(libdir)
@chmod a+r,u+w,g-w,o-w $(libdir)/$(LIBNAME)* @chmod a+r,u+w,g-w,o-w $(libdir)/$(LIBNAME)*
-mkdir -p $(includedir) -mkdir -p $(includedir)
cp -rf ../FL $(includedir) -rm -rf $(includedir)/FL
cp -r ../FL $(includedir)
@chmod -R a+r,u+w,g-w,o-w $(includedir)/FL @chmod -R a+r,u+w,g-w,o-w $(includedir)/FL
# #
# End of "$Id: Makefile,v 1.4 1998/10/21 14:20:37 mike Exp $". # End of "$Id: Makefile,v 1.5 1998/10/21 22:03:52 mike Exp $".
# #
+5 -2
View File
@@ -1,5 +1,5 @@
# #
# "$Id: Makefile,v 1.10 1998/10/21 20:10:23 mike Exp $" # "$Id: Makefile,v 1.11 1998/10/21 22:03:53 mike Exp $"
# #
# Test/example program makefile for the Fast Light Tool Kit (FLTK). # Test/example program makefile for the Fast Light Tool Kit (FLTK).
# #
@@ -110,6 +110,9 @@ depend:
clean: clean:
-@ rm -f $(ALL) jpeg_image *.o core *~ -@ rm -f $(ALL) jpeg_image *.o core *~
install:
@echo Nothing to install in test directory.
# #
# End of "$Id: Makefile,v 1.10 1998/10/21 20:10:23 mike Exp $". # End of "$Id: Makefile,v 1.11 1998/10/21 22:03:53 mike Exp $".
# #