summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-03-08 13:13:15 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-03-08 13:13:15 +0000
commit35b3c476281d20fc4e48939e5386e27196ff02d2 (patch)
treefe7b866df7c8bf96f4aaab1334fed2901b30358c /src/Makefile
parent6660f52740f5ee1e5eaa272d466f18f7a925f82c (diff)
Fix 1.1.x makefile - it had the wrong depend target (Bill, you can use
makedepend or "-I" with no directory with your 2.0 target to eliminate the system include files...) and thus the dependency file contained system headers in it... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile
index bc42b0d0d..a770cfa8f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.18.2.14.2.36 2002/03/07 19:22:57 spitzak Exp $"
+# "$Id: Makefile,v 1.18.2.14.2.37 2002/03/08 13:13:14 easysw Exp $"
#
# Library makefile for the Fast Light Tool Kit (FLTK).
#
@@ -174,8 +174,6 @@ CLEAN = core cmap
################################################################
include ../makeinclude
-CFLAGS += -DFL_LIBRARY
-CXXFLAGS += -DFL_LIBRARY
OBJECTS = $(CPPFILES:.cxx=.o) $(CFILES:.c=.o)
GLOBJECTS = $(GLCPPFILES:.cxx=.o)
@@ -221,11 +219,8 @@ libfltk_gl_s.a: $(GLOBJECTS)
clean :
-@ rm -f *.o $(DSONAME) $(GLDSONAME) $(LIBRARY) $(CLEAN) libfltk.so libfltk_gl.so
-depend:
- $(MAKEDEPEND) -I.. $(CXXFLAGS) $(CPPFILES) $(GLCPPFILES) $(CFILES) > makedepend
- sed -e "s'\.o'_s\.o'" makedepend > foo
- cat foo >> makedepend
- rm foo
+depend: $(CPPFILES) $(GLCPPFILES) $(CFILES)
+ makedepend -Y -I.. -f makedepend $(CPPFILES) $(GLCPPFILES) $(CFILES)
# Automatically generated dependencies...
include makedepend
@@ -358,5 +353,5 @@ uninstall:
#
-# End of "$Id: Makefile,v 1.18.2.14.2.36 2002/03/07 19:22:57 spitzak Exp $".
+# End of "$Id: Makefile,v 1.18.2.14.2.37 2002/03/08 13:13:14 easysw Exp $".
#