Tweek makeinclude.in so that we build from .o files instead of .cxx -> .exe

Same for .fl -> .exe in test/Makefile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2001-11-29 21:24:49 +00:00
parent 02d869450d
commit bc925b34c3
4 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
// //
// "$Id: Enumerations.H,v 1.18.2.14.2.12 2001/11/29 21:12:15 easysw Exp $" // "$Id: Enumerations.H,v 1.18.2.14.2.13 2001/11/29 21:24:49 easysw Exp $"
// //
// Enumerations for the Fast Light Tool Kit (FLTK). // Enumerations for the Fast Light Tool Kit (FLTK).
// //
@@ -372,5 +372,5 @@ enum Fl_Damage {
#endif #endif
// //
// End of "$Id: Enumerations.H,v 1.18.2.14.2.12 2001/11/29 21:12:15 easysw Exp $". // End of "$Id: Enumerations.H,v 1.18.2.14.2.13 2001/11/29 21:24:49 easysw Exp $".
// //
+4 -4
View File
@@ -1,5 +1,5 @@
# #
# "$Id: makeinclude.in,v 1.7.2.11.2.8 2001/11/20 20:10:59 easysw Exp $" # "$Id: makeinclude.in,v 1.7.2.11.2.9 2001/11/29 21:24:49 easysw Exp $"
# #
# Make include file for the Fast Light Tool Kit (FLTK). # Make include file for the Fast Light Tool Kit (FLTK).
# @configure_input@ # @configure_input@
@@ -80,8 +80,8 @@ CAT3EXT =@CAT3EXT@
# Build commands and filename extensions... # Build commands and filename extensions...
.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT) .SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT)
.cxx$(EXEEXT): .o$(EXEEXT):
echo Compiling and linking $@... echo Linking $@...
$(CXX) -I.. $(CXXFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@ $(CXX) -I.. $(CXXFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@
.c.o: .c.o:
@@ -105,5 +105,5 @@ CAT3EXT =@CAT3EXT@
mv t.z $@ mv t.z $@
# #
# End of "$Id: makeinclude.in,v 1.7.2.11.2.8 2001/11/20 20:10:59 easysw Exp $". # End of "$Id: makeinclude.in,v 1.7.2.11.2.9 2001/11/29 21:24:49 easysw Exp $".
# #
+6 -6
View File
@@ -1,5 +1,5 @@
# #
# "$Id: Makefile,v 1.19.2.7.2.12 2001/11/24 18:07:57 easysw Exp $" # "$Id: Makefile,v 1.19.2.7.2.13 2001/11/29 21:24:49 easysw Exp $"
# #
# Test/example program makefile for the Fast Light Tool Kit (FLTK). # Test/example program makefile for the Fast Light Tool Kit (FLTK).
# #
@@ -158,10 +158,10 @@ gldemos: $(GLALL)
echo Generating $<... echo Generating $<...
../fluid/fluid -c $< ../fluid/fluid -c $<
.fl$(EXEEXT): #.fl$(EXEEXT):
echo Generating, compiling, and linking $@... # echo Generating, compiling, and linking $@...
../fluid/fluid -c $< # ../fluid/fluid -c $<
$(CXX) -I.. $(CXXFLAGS) $@.cxx $(LINKFLTK) $(LDLIBS) -o $@ # $(CXX) -I.. $(CXXFLAGS) $@.cxx $(LINKFLTK) $(LDLIBS) -o $@
$(ALL): ../lib/$(LIBNAME) $(ALL): ../lib/$(LIBNAME)
@@ -236,5 +236,5 @@ uninstall:
@echo Nothing to uninstall in test directory. @echo Nothing to uninstall in test directory.
# #
# End of "$Id: Makefile,v 1.19.2.7.2.12 2001/11/24 18:07:57 easysw Exp $". # End of "$Id: Makefile,v 1.19.2.7.2.13 2001/11/29 21:24:49 easysw Exp $".
# #
+3 -3
View File
@@ -1,5 +1,5 @@
// //
// "$Id: fractals.cxx,v 1.5.2.6 2001/04/30 17:17:01 easysw Exp $" // "$Id: fractals.cxx,v 1.5.2.6.2.1 2001/11/29 21:24:49 easysw Exp $"
// //
// Fractal drawing demo for the Fast Light Tool Kit (FLTK). // Fractal drawing demo for the Fast Light Tool Kit (FLTK).
// //
@@ -32,7 +32,7 @@
#include <FL/Fl.H> #include <FL/Fl.H>
#include <FL/fl_message.H> #include <FL/fl_message.H>
int main(int, char**) { int main(int, char**) {
fl_alert("This demo does not work without GL and GLU"); fl_alert("This demo does not work without GL and GLU (%d)");
return 1; return 1;
} }
#else #else
@@ -806,5 +806,5 @@ int main(int argc, char** argv)
#endif #endif
// //
// End of "$Id: fractals.cxx,v 1.5.2.6 2001/04/30 17:17:01 easysw Exp $". // End of "$Id: fractals.cxx,v 1.5.2.6.2.1 2001/11/29 21:24:49 easysw Exp $".
// //