Skip to content

Commit

Permalink
Tweek makeinclude.in so that we build from .o files instead of .cxx -…
Browse files Browse the repository at this point in the history
…> .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
  • Loading branch information
michaelrsweet committed Nov 29, 2001
1 parent 02d8694 commit bc925b3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions FL/Enumerations.H
@@ -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).
//
Expand Down Expand Up @@ -372,5 +372,5 @@ enum Fl_Damage {
#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 $".
//
8 changes: 4 additions & 4 deletions makeinclude.in
@@ -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).
# @configure_input@
Expand Down Expand Up @@ -80,8 +80,8 @@ CAT3EXT =@CAT3EXT@
# Build commands and filename extensions...
.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT)

.cxx$(EXEEXT):
echo Compiling and linking $@...
.o$(EXEEXT):
echo Linking $@...
$(CXX) -I.. $(CXXFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@

.c.o:
Expand All @@ -105,5 +105,5 @@ CAT3EXT =@CAT3EXT@
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 $".
#
12 changes: 6 additions & 6 deletions test/Makefile
@@ -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).
#
Expand Down Expand Up @@ -158,10 +158,10 @@ gldemos: $(GLALL)
echo Generating $<...
../fluid/fluid -c $<

.fl$(EXEEXT):
echo Generating, compiling, and linking $@...
../fluid/fluid -c $<
$(CXX) -I.. $(CXXFLAGS) $@.cxx $(LINKFLTK) $(LDLIBS) -o $@
#.fl$(EXEEXT):
# echo Generating, compiling, and linking $@...
# ../fluid/fluid -c $<
# $(CXX) -I.. $(CXXFLAGS) $@.cxx $(LINKFLTK) $(LDLIBS) -o $@


$(ALL): ../lib/$(LIBNAME)
Expand Down Expand Up @@ -236,5 +236,5 @@ uninstall:
@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 $".
#
6 changes: 3 additions & 3 deletions test/fractals.cxx
@@ -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).
//
Expand Down Expand Up @@ -32,7 +32,7 @@
#include <FL/Fl.H>
#include <FL/fl_message.H>
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;
}
#else
Expand Down Expand Up @@ -806,5 +806,5 @@ int main(int argc, char** argv)
#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 $".
//

0 comments on commit bc925b3

Please sign in to comment.