summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-01-27 14:44:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-01-27 14:44:32 +0000
commite8b804cadef939df04abb365561324e41dcb3392 (patch)
treeebe861870a5e4e4bf9aa48d20b17bedb773005f7
parent92ab051e21b5b2d7df9fa6aa8d7dacc10305a539 (diff)
Updated Makefile for shared libraries (wasn't copying both files).
Added symlink for FL->Fl mapping under UNIX. git-svn-id: file:///fltk/svn/fltk/trunk@251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Makefile b/src/Makefile
index 81824fdb0..d64414222 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.8 1998/12/06 15:19:37 mike Exp $"
+# "$Id: Makefile,v 1.9 1999/01/27 14:44:32 mike Exp $"
#
# Library makefile for the Fast Light Tool Kit (FLTK).
#
@@ -176,13 +176,14 @@ include makedepend
install: ../lib/$(LIBNAME)
-mkdir -p $(libdir)
- cp ../lib/$(LIBNAME) $(libdir)
- @chmod a+r,u+w,g-w,o-w $(libdir)/$(LIBNAME)*
+ -cp ../lib/$(LIBNAME)* $(libdir)
+ @-chmod a+r,a-w $(libdir)/$(LIBNAME)*
-mkdir -p $(includedir)
- -rm -rf $(includedir)/FL
- cp -r ../FL $(includedir)
- @chmod -R a+r,u+w,g-w,o-w $(includedir)/FL
+ -rm -rf $(includedir)/FL $(includedir)/Fl
+ -cp -r ../FL $(includedir)
+ @-chmod -R a+r,a-w $(includedir)/FL
+ -ln -s FL $(includedir)/Fl
#
-# End of "$Id: Makefile,v 1.8 1998/12/06 15:19:37 mike Exp $".
+# End of "$Id: Makefile,v 1.9 1999/01/27 14:44:32 mike Exp $".
#