summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-06-03 12:04:12 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-06-03 12:04:12 +0000
commite4619262611cee73cc5fae97f48b40f84133c820 (patch)
tree36d5d226f11d3cdeb12d586f0c4bb53a031c15b3 /makefiles
parentb0cdb25d3cf5e3016ce14d889a357cd963ba876d (diff)
Moved .fl building rules to test/Makefile.
Added compiling rules to makefiles/makeinclude.* git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/makeinclude.cygnus22
-rw-r--r--makefiles/makeinclude.mingw3222
2 files changed, 40 insertions, 4 deletions
diff --git a/makefiles/makeinclude.cygnus b/makefiles/makeinclude.cygnus
index 5ee2c92f6..cab08d52f 100644
--- a/makefiles/makeinclude.cygnus
+++ b/makefiles/makeinclude.cygnus
@@ -1,5 +1,5 @@
#
-# "$Id: makeinclude.cygnus,v 1.9.2.2 2000/04/25 22:16:06 mike Exp $"
+# "$Id: makeinclude.cygnus,v 1.9.2.3 2000/06/03 12:04:10 mike Exp $"
#
# Make include file for the Fast Light Tool Kit (FLTK).
#
@@ -50,6 +50,24 @@ LDLIBS = -lgdi32 -luser32 -lmsvcrt -lwsock32 -lm -mno-cygwin -mwindows
GLDLIBS = -lgdi32 -luser32 -lglu32 -lopengl32 -lmsvcrt -lwsock32 -lm \
-mno-cygwin -mwindows
+# Be quiet when building...
+.SILENT:
+
+# Build commands and filename extensions...
+.SUFFIXES: .c .cxx .h .fl .o
+
+.cxx:
+ echo Compiling and linking $@...
+ $(CXX) -I.. $(CXXFLAGS) $< -L../lib -lfltk $(LDLIBS) -o $@
+
+.c.o:
+ echo Compiling $@...
+ $(CC) -I.. $(CXXFLAGS) $< -c
+
+.cxx.o:
+ echo Compiling $@...
+ $(CXX) -I.. $(CXXFLAGS) $< -c
+
#
-# End of "$Id: makeinclude.cygnus,v 1.9.2.2 2000/04/25 22:16:06 mike Exp $".
+# End of "$Id: makeinclude.cygnus,v 1.9.2.3 2000/06/03 12:04:10 mike Exp $".
#
diff --git a/makefiles/makeinclude.mingw32 b/makefiles/makeinclude.mingw32
index 3d1ed76c9..bb3910a66 100644
--- a/makefiles/makeinclude.mingw32
+++ b/makefiles/makeinclude.mingw32
@@ -1,5 +1,5 @@
#
-# "$Id: makeinclude.mingw32,v 1.9.2.2 2000/04/25 22:16:06 mike Exp $"
+# "$Id: makeinclude.mingw32,v 1.9.2.3 2000/06/03 12:04:11 mike Exp $"
#
# Make include file for the Fast Light Tool Kit (FLTK).
#
@@ -49,6 +49,24 @@ DSOCOMMAND = echo
LDLIBS = -lgdi32 -luser32 -lmsvcrt -lwsock32 -lm
GLDLIBS = -lgdi32 -luser32 -lglu32 -lopengl32 -lmsvcrt -lwsock32 -lm
+# Be quiet when building...
+.SILENT:
+
+# Build commands and filename extensions...
+.SUFFIXES: .c .cxx .h .fl .o
+
+.cxx:
+ echo Compiling and linking $@...
+ $(CXX) -I.. $(CXXFLAGS) $< -L../lib -lfltk $(LDLIBS) -o $@
+
+.c.o:
+ echo Compiling $@...
+ $(CC) -I.. $(CXXFLAGS) $< -c
+
+.cxx.o:
+ echo Compiling $@...
+ $(CXX) -I.. $(CXXFLAGS) $< -c
+
#
-# End of "$Id: makeinclude.mingw32,v 1.9.2.2 2000/04/25 22:16:06 mike Exp $".
+# End of "$Id: makeinclude.mingw32,v 1.9.2.3 2000/06/03 12:04:11 mike Exp $".
#