Converted all {} to ()...

git-svn-id: file:///fltk/svn/fltk/trunk@43 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1998-10-21 18:15:03 +00:00
parent 9af1ddb924
commit 994243bfdd

View File

@ -1,5 +1,5 @@
#
# "$Id: Makefile,v 1.8 1998/10/21 17:20:08 mike Exp $"
# "$Id: Makefile,v 1.9 1998/10/21 18:15:03 mike Exp $"
#
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
#
@ -43,68 +43,68 @@ ALL = adjuster arc ask bitmap boxtype browser button buttons checkers \
pixmap_browser radio resizebox scroll shape shiny subwindow \
symbols tabs tile valuators fast_slow resize pack inactive style
all: ${ALL}
all: $(ALL)
include ../makeinclude
${ALL} : ../lib/$(LIBNAME)
$(ALL): ../lib/$(LIBNAME)
.SUFFIXES : .C .c .o .fl .H
.SUFFIXES: .C .c .o .fl .H
.C:
@echo $@:
@$(CXX) -I.. $(CXXFLAGS) $< -L../lib -lfltk ${LDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) $< -L../lib -lfltk $(LDLIBS) -o $@
.fl.C .fl.H :
.fl.C:
@echo $@:
@../fluid/fluid -c $<
# Programs needing the OpenGL libraries:
cube: cube.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} cube.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) cube.C -L../lib -lfltk $(GLDLIBS) -o $@
fullscreen: fullscreen.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} fullscreen.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) fullscreen.C -L../lib -lfltk $(GLDLIBS) -o $@
fractals: fractals.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} fractals.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) fractals.C -L../lib -lfltk $(GLDLIBS) -o $@
gl_overlay: gl_overlay.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} gl_overlay.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) gl_overlay.C -L../lib -lfltk $(GLDLIBS) -o $@
glpuzzle: glpuzzle.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} glpuzzle.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) glpuzzle.C -L../lib -lfltk $(GLDLIBS) -o $@
shape: shape.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} shape.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) shape.C -L../lib -lfltk $(GLDLIBS) -o $@
shiny: shiny.C shiny_panel.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} shiny.C -L../lib -lfltk ${GLDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) shiny.C -L../lib -lfltk $(GLDLIBS) -o $@
# Other programs needing special "help"...
keyboard: keyboard.C keyboard_ui.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} keyboard.C -L../lib -lfltk ${LDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) keyboard.C -L../lib -lfltk $(LDLIBS) -o $@
mandelbrot: mandelbrot.C mandelbrot_ui.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} mandelbrot.C -L../lib -lfltk ${LDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) mandelbrot.C -L../lib -lfltk $(LDLIBS) -o $@
style: style.C style_ui.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} style.C -L../lib -lfltk ${LDLIBS} -o $@
@$(CXX) -I.. $(CXXFLAGS) style.C -L../lib -lfltk $(LDLIBS) -o $@
# If you have libjpeg installed, you might want to try this test program:
jpeg_image: jpeg_image.C
@echo $@:
@${CXX} -I.. ${CXXFLAGS} -I../../../local/jpeg-6b -L../../../local/jpeg-6b jpeg_image.C -L../lib -lfltk ${LDLIBS} -ljpeg -lXext -o $@
@$(CXX) -I.. $(CXXFLAGS) -I../../../local/jpeg-6b -L../../../local/jpeg-6b jpeg_image.C -L../lib -lfltk $(LDLIBS) -ljpeg -lXext -o $@
depend:
$(MAKEDEPEND) -I.. $(CXXFLAGS) $(CPPFILES) > makedepend
clean:
-@ rm -f ${ALL} jpeg_image *.o core *~
-@ rm -f $(ALL) jpeg_image *.o core *~
#
# End of "$Id: Makefile,v 1.8 1998/10/21 17:20:08 mike Exp $".
# End of "$Id: Makefile,v 1.9 1998/10/21 18:15:03 mike Exp $".
#