summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile20
-rw-r--r--test/checkers.cxx8
2 files changed, 20 insertions, 8 deletions
diff --git a/test/Makefile b/test/Makefile
index b1d269d4a..cf3539398 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.19 1999/02/22 21:52:17 mike Exp $"
+# "$Id: Makefile,v 1.19.2.1 1999/03/25 15:26:43 mike Exp $"
#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
@@ -68,16 +68,28 @@ $(ALL): ../lib/$(LIBNAME)
# Other programs needing special "help"...
CubeView: CubeMain.o CubeView.o CubeViewUI.o
$(CXX) -I.. $(CXXFLAGS) CubeMain.o CubeView.o CubeViewUI.o \
- -L../lib -lfltk $(LDLIBS) -o $@
+ -L../lib -lfltk $(GLDLIBS) -o $@
CubeMain.o: CubeViewUI.h CubeView.h
CubeView.o: CubeView.h
+cube: cube.cxx
+ $(CXX) -I.. $(CXXFLAGS) cube.cxx -L../lib -lfltk $(GLDLIBS) -o $@
+fractals: fractals.cxx
+ $(CXX) -I.. $(CXXFLAGS) fractals.cxx -L../lib -lfltk $(GLDLIBS) -o $@
+fullscreen: fullscreen.cxx
+ $(CXX) -I.. $(CXXFLAGS) fullscreen.cxx -L../lib -lfltk $(GLDLIBS) -o $@
+glpuzzle: glpuzzle.cxx
+ $(CXX) -I.. $(CXXFLAGS) glpuzzle.cxx -L../lib -lfltk $(GLDLIBS) -o $@
+gl_overlay: gl_overlay.cxx
+ $(CXX) -I.. $(CXXFLAGS) gl_overlay.cxx -L../lib -lfltk $(GLDLIBS) -o $@
shiny: shiny.cxx shiny_panel.cxx
- $(CXX) -I.. $(CXXFLAGS) shiny.cxx -L../lib -lfltk $(LDLIBS) -o $@
+ $(CXX) -I.. $(CXXFLAGS) shiny.cxx -L../lib -lfltk $(GLDLIBS) -o $@
keyboard: keyboard.cxx keyboard_ui.cxx
$(CXX) -I.. $(CXXFLAGS) keyboard.cxx -L../lib -lfltk $(LDLIBS) -o $@
mandelbrot: mandelbrot.cxx mandelbrot_ui.cxx
$(CXX) -I.. $(CXXFLAGS) mandelbrot.cxx -L../lib -lfltk $(LDLIBS) -o $@
+shape: shape.cxx
+ $(CXX) -I.. $(CXXFLAGS) shape.cxx -L../lib -lfltk $(GLDLIBS) -o $@
# If you have libjpeg installed, you might want to try this test program:
@@ -94,5 +106,5 @@ install:
@echo Nothing to install in test directory.
#
-# End of "$Id: Makefile,v 1.19 1999/02/22 21:52:17 mike Exp $".
+# End of "$Id: Makefile,v 1.19.2.1 1999/03/25 15:26:43 mike Exp $".
#
diff --git a/test/checkers.cxx b/test/checkers.cxx
index b0f86ac36..0e79e83b3 100644
--- a/test/checkers.cxx
+++ b/test/checkers.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: checkers.cxx,v 1.9 1999/01/07 19:17:50 mike Exp $"
+// "$Id: checkers.cxx,v 1.9.2.1 1999/03/25 15:26:44 mike Exp $"
//
// Checkers game for the Fast Light Tool Kit (FLTK).
//
@@ -1299,7 +1299,7 @@ Fl_Menu_Item menu[] = {
{"Intelligence...", 'i', intel_cb, 0, FL_MENU_DIVIDER},
{"Copyright", 'c', copyright_cb},
{"Quit", 'q', quit_cb},
- {0}};
+ {(const char *)0}};
Fl_Menu_Item busymenu[] = {
{"Stop", '.', stop_cb},
@@ -1309,7 +1309,7 @@ Fl_Menu_Item busymenu[] = {
{"Intelligence...", 'i', intel_cb},
{"Copyright", 'c', copyright_cb},
{"Quit", 'q', quit_cb},
- {0}};
+ {(const char *)0}};
#endif
@@ -1366,5 +1366,5 @@ int main(int argc, char **argv) {
}
//
-// End of "$Id: checkers.cxx,v 1.9 1999/01/07 19:17:50 mike Exp $".
+// End of "$Id: checkers.cxx,v 1.9.2.1 1999/03/25 15:26:44 mike Exp $".
//