summaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 3f0169778..885f69166 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.19.2.4 2000/05/13 20:03:19 bill Exp $"
+# "$Id: Makefile,v 1.19.2.5 2000/06/03 12:04:12 mike Exp $"
#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
@@ -48,6 +48,17 @@ all: $(ALL)
include ../makeinclude
+# FLUID file rules
+.fl.cxx .fl.h:
+ echo Generating $<...
+ ../fluid/fluid -c $<
+
+.fl:
+ echo Generating, compiling, and linking $@...
+ ../fluid/fluid -c $<
+ $(CXX) -I.. $(CXXFLAGS) $@.cxx -L../lib -lfltk $(LDLIBS) -o $@
+
+
$(ALL): ../lib/$(LIBNAME)
# Other programs needing special "help"...
@@ -102,5 +113,5 @@ install:
@echo Nothing to install in test directory.
#
-# End of "$Id: Makefile,v 1.19.2.4 2000/05/13 20:03:19 bill Exp $".
+# End of "$Id: Makefile,v 1.19.2.5 2000/06/03 12:04:12 mike Exp $".
#