1998-10-21 01:06:19 +04:00
|
|
|
#
|
2005-02-25 00:14:22 +03:00
|
|
|
# "$Id$"
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
|
|
|
|
#
|
2005-02-25 00:55:12 +03:00
|
|
|
# Copyright 1998-2005 by Bill Spitzak and others.
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
# USA.
|
|
|
|
#
|
2005-04-16 04:13:17 +04:00
|
|
|
# Please report all bugs and problems on the following page:
|
|
|
|
#
|
|
|
|
# http://www.fltk.org/str.php
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
|
2001-08-05 20:28:03 +04:00
|
|
|
include ../makeinclude
|
|
|
|
|
1998-10-21 20:53:14 +04:00
|
|
|
CPPFILES =\
|
2004-08-27 02:24:24 +04:00
|
|
|
unittests.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
adjuster.cxx \
|
|
|
|
arc.cxx \
|
|
|
|
ask.cxx \
|
|
|
|
bitmap.cxx \
|
|
|
|
boxtype.cxx \
|
|
|
|
browser.cxx \
|
|
|
|
button.cxx \
|
|
|
|
buttons.cxx \
|
|
|
|
checkers.cxx \
|
|
|
|
clock.cxx \
|
|
|
|
colbrowser.cxx \
|
|
|
|
color_chooser.cxx \
|
|
|
|
cube.cxx \
|
|
|
|
CubeMain.cxx \
|
|
|
|
CubeView.cxx \
|
|
|
|
cursor.cxx \
|
|
|
|
curve.cxx \
|
|
|
|
demo.cxx \
|
|
|
|
doublebuffer.cxx \
|
|
|
|
editor.cxx \
|
|
|
|
fast_slow.cxx \
|
|
|
|
file_chooser.cxx \
|
|
|
|
fonts.cxx \
|
|
|
|
forms.cxx \
|
|
|
|
fractals.cxx \
|
|
|
|
fullscreen.cxx \
|
|
|
|
gl_overlay.cxx \
|
|
|
|
glpuzzle.cxx \
|
|
|
|
hello.cxx \
|
|
|
|
help.cxx \
|
|
|
|
iconize.cxx \
|
|
|
|
image.cxx \
|
|
|
|
inactive.cxx \
|
|
|
|
input.cxx \
|
2005-02-25 00:14:22 +03:00
|
|
|
input_choice.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
keyboard.cxx \
|
|
|
|
label.cxx \
|
|
|
|
line_style.cxx \
|
|
|
|
list_visuals.cxx \
|
|
|
|
mandelbrot.cxx \
|
|
|
|
menubar.cxx \
|
|
|
|
message.cxx \
|
|
|
|
minimum.cxx \
|
|
|
|
navigation.cxx \
|
|
|
|
output.cxx \
|
|
|
|
overlay.cxx \
|
|
|
|
pack.cxx \
|
|
|
|
pixmap_browser.cxx \
|
|
|
|
pixmap.cxx \
|
2002-04-30 01:04:13 +04:00
|
|
|
preferences.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
radio.cxx \
|
|
|
|
resizebox.cxx \
|
|
|
|
resize.cxx \
|
|
|
|
scroll.cxx \
|
|
|
|
shape.cxx \
|
|
|
|
subwindow.cxx \
|
2005-11-25 23:40:16 +03:00
|
|
|
sudoku.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
symbols.cxx \
|
|
|
|
tabs.cxx \
|
2001-12-08 19:23:51 +03:00
|
|
|
threads.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
tile.cxx \
|
|
|
|
tiled_image.cxx \
|
|
|
|
valuators.cxx
|
2001-08-02 22:15:44 +04:00
|
|
|
|
2001-11-18 15:48:38 +03:00
|
|
|
ALL = \
|
2004-08-27 02:24:24 +04:00
|
|
|
unittests$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
adjuster$(EXEEXT) \
|
|
|
|
arc$(EXEEXT) \
|
|
|
|
ask$(EXEEXT) \
|
|
|
|
bitmap$(EXEEXT) \
|
|
|
|
boxtype$(EXEEXT) \
|
|
|
|
browser$(EXEEXT) \
|
|
|
|
button$(EXEEXT) \
|
|
|
|
buttons$(EXEEXT) \
|
|
|
|
checkers$(EXEEXT) \
|
|
|
|
clock$(EXEEXT) \
|
|
|
|
colbrowser$(EXEEXT) \
|
|
|
|
color_chooser$(EXEEXT) \
|
|
|
|
cursor$(EXEEXT) \
|
|
|
|
curve$(EXEEXT) \
|
|
|
|
demo$(EXEEXT) \
|
|
|
|
doublebuffer$(EXEEXT) \
|
|
|
|
editor$(EXEEXT) \
|
|
|
|
fast_slow$(EXEEXT) \
|
|
|
|
file_chooser$(EXEEXT) \
|
|
|
|
fonts$(EXEEXT) \
|
|
|
|
forms$(EXEEXT) \
|
|
|
|
hello$(EXEEXT) \
|
|
|
|
help$(EXEEXT) \
|
|
|
|
iconize$(EXEEXT) \
|
|
|
|
image$(EXEEXT) \
|
|
|
|
inactive$(EXEEXT) \
|
|
|
|
input$(EXEEXT) \
|
2005-02-25 00:14:22 +03:00
|
|
|
input_choice$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
keyboard$(EXEEXT) \
|
|
|
|
label$(EXEEXT) \
|
|
|
|
line_style$(EXEEXT) \
|
|
|
|
list_visuals$(EXEEXT) \
|
|
|
|
mandelbrot$(EXEEXT) \
|
|
|
|
menubar$(EXEEXT) \
|
|
|
|
message$(EXEEXT) \
|
|
|
|
minimum$(EXEEXT) \
|
|
|
|
navigation$(EXEEXT) \
|
|
|
|
output$(EXEEXT) \
|
|
|
|
overlay$(EXEEXT) \
|
|
|
|
pack$(EXEEXT) \
|
|
|
|
pixmap$(EXEEXT) \
|
|
|
|
pixmap_browser$(EXEEXT) \
|
2002-04-30 01:04:13 +04:00
|
|
|
preferences$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
radio$(EXEEXT) \
|
2001-12-23 06:40:51 +03:00
|
|
|
resize$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
resizebox$(EXEEXT) \
|
|
|
|
scroll$(EXEEXT) \
|
|
|
|
subwindow$(EXEEXT) \
|
2005-11-25 23:40:16 +03:00
|
|
|
sudoku$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
symbols$(EXEEXT) \
|
|
|
|
tabs$(EXEEXT) \
|
2001-12-15 00:02:24 +03:00
|
|
|
$(THREADS) \
|
2001-11-18 15:48:38 +03:00
|
|
|
tile$(EXEEXT) \
|
2001-11-24 21:07:58 +03:00
|
|
|
tiled_image$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
valuators$(EXEEXT)
|
|
|
|
|
|
|
|
GLALL = \
|
|
|
|
cube$(EXEEXT) \
|
|
|
|
CubeView$(EXEEXT) \
|
|
|
|
fractals$(EXEEXT) \
|
|
|
|
fullscreen$(EXEEXT) \
|
|
|
|
gl_overlay$(EXEEXT) \
|
|
|
|
glpuzzle$(EXEEXT) \
|
2003-09-05 16:24:31 +04:00
|
|
|
shape$(EXEEXT)
|
2001-08-02 22:15:44 +04:00
|
|
|
|
|
|
|
all: $(ALL) $(GLDEMOS)
|
|
|
|
|
|
|
|
gldemos: $(GLALL)
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
depend: $(CPPFILES)
|
|
|
|
makedepend -Y -I.. -f makedepend $(CPPFILES)
|
|
|
|
|
2002-03-28 16:20:11 +03:00
|
|
|
# Automatically generated dependencies...
|
|
|
|
include makedepend
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
clean:
|
2005-04-16 04:01:49 +04:00
|
|
|
-$(RM) $(ALL) $(GLALL) core
|
|
|
|
-$(RM) *.o core.* *~ *.bck *.bak
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
install:
|
2005-04-16 04:01:49 +04:00
|
|
|
echo "Installing example programs to $(DESTDIR)$(docdir)/examples..."
|
|
|
|
-$(MKDIR) $(DESTDIR)$(docdir)/examples
|
2005-04-19 00:23:29 +04:00
|
|
|
$(CP) *.h *.cxx *.fl demo.menu *.xbm *.xpm $(DESTDIR)$(docdir)/examples
|
2005-04-16 04:01:49 +04:00
|
|
|
$(CHMOD) 644 $(DESTDIR)$(docdir)/examples/*.*
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
uninstall:
|
2005-04-16 04:01:49 +04:00
|
|
|
echo "Removing examples programs from $(DESTDIR)$(docdir)/examples..."
|
|
|
|
-$(RMDIR) $(DESTDIR)$(docdir)/examples
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2000-06-03 16:04:12 +04:00
|
|
|
# FLUID file rules
|
2002-04-29 18:32:13 +04:00
|
|
|
.fl.cxx .fl.h: ../fluid/fluid$(EXEEXT)
|
2000-06-03 16:04:12 +04:00
|
|
|
echo Generating $<...
|
2002-03-26 03:05:18 +03:00
|
|
|
../fluid/fluid$(EXEEXT) -c $<
|
2000-06-03 16:04:12 +04:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
# All demos depend on the FLTK library...
|
|
|
|
$(ALL): ../lib/$(LIBNAME)
|
|
|
|
|
|
|
|
# General demos...
|
2004-08-27 02:24:24 +04:00
|
|
|
unittests$(EXEEXT): unittests.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
adjuster$(EXEEXT): adjuster.o
|
|
|
|
|
|
|
|
arc$(EXEEXT): arc.o
|
|
|
|
|
|
|
|
ask$(EXEEXT): ask.o
|
|
|
|
|
|
|
|
bitmap$(EXEEXT): bitmap.o
|
|
|
|
|
|
|
|
boxtype$(EXEEXT): boxtype.o
|
|
|
|
|
|
|
|
browser$(EXEEXT): browser.o
|
|
|
|
|
|
|
|
button$(EXEEXT): button.o
|
|
|
|
|
|
|
|
buttons$(EXEEXT): buttons.o
|
|
|
|
|
|
|
|
checkers$(EXEEXT): checkers.o
|
|
|
|
|
|
|
|
clock$(EXEEXT): clock.o
|
|
|
|
|
|
|
|
colbrowser$(EXEEXT): colbrowser.o
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ $< $(LINKFLTKFORMS) $(LDLIBS)
|
2002-03-26 00:39:01 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
color_chooser$(EXEEXT): color_chooser.o
|
|
|
|
|
|
|
|
cursor$(EXEEXT): cursor.o
|
|
|
|
|
|
|
|
curve$(EXEEXT): curve.o
|
|
|
|
|
|
|
|
demo$(EXEEXT): demo.o
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ $< $(LINKFLTKFORMS) $(LDLIBS)
|
2002-03-26 00:39:01 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
doublebuffer$(EXEEXT): doublebuffer.o
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
editor$(EXEEXT): editor.o
|
|
|
|
echo Linking $@...
|
2002-06-29 01:04:37 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) editor.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
fast_slow$(EXEEXT): fast_slow.o
|
2002-04-29 18:32:13 +04:00
|
|
|
fast_slow.cxx: fast_slow.fl
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
file_chooser$(EXEEXT): file_chooser.o ../lib/$(IMGLIBNAME)
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-29 01:04:37 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) file_chooser.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
fonts$(EXEEXT): fonts.o
|
|
|
|
|
|
|
|
forms$(EXEEXT): forms.o
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ $< $(LINKFLTKFORMS) $(LDLIBS)
|
2002-03-26 00:39:01 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
hello$(EXEEXT): hello.o
|
|
|
|
|
2002-08-12 06:11:03 +04:00
|
|
|
help$(EXEEXT): help.o ../lib/$(IMGLIBNAME)
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-29 01:04:37 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) help.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
iconize$(EXEEXT): iconize.o
|
|
|
|
|
|
|
|
image$(EXEEXT): image.o
|
|
|
|
|
|
|
|
inactive$(EXEEXT): inactive.o
|
2002-04-29 18:32:13 +04:00
|
|
|
inactive.cxx: inactive.fl
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
input$(EXEEXT): input.o
|
|
|
|
|
2005-02-25 00:14:22 +03:00
|
|
|
input_choice$(EXEEXT): input_choice.o
|
|
|
|
|
2001-12-30 08:16:10 +03:00
|
|
|
keyboard$(EXEEXT): keyboard_ui.o keyboard.o
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ keyboard.o keyboard_ui.o $(LINKFLTK) $(LDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-04-29 18:32:13 +04:00
|
|
|
keyboard_ui.o: keyboard_ui.h
|
|
|
|
keyboard_ui.cxx: keyboard_ui.fl
|
2001-12-13 00:33:34 +03:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
label$(EXEEXT): label.o
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ $< $(LINKFLTKFORMS) $(LDLIBS)
|
2002-03-26 00:39:01 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
line_style$(EXEEXT): line_style.o
|
|
|
|
|
|
|
|
list_visuals$(EXEEXT): list_visuals.o
|
|
|
|
|
2001-12-30 08:16:10 +03:00
|
|
|
mandelbrot$(EXEEXT): mandelbrot_ui.o mandelbrot.o
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ mandelbrot.o mandelbrot_ui.o $(LINKFLTK) $(LDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-04-29 18:32:13 +04:00
|
|
|
mandelbrot_ui.o: mandelbrot_ui.h
|
|
|
|
mandelbrot_ui.cxx: mandelbrot_ui.fl
|
2001-12-14 19:48:13 +03:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
menubar$(EXEEXT): menubar.o
|
|
|
|
|
|
|
|
message$(EXEEXT): message.o
|
|
|
|
|
|
|
|
minimum$(EXEEXT): minimum.o
|
|
|
|
|
|
|
|
navigation$(EXEEXT): navigation.o
|
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
output$(EXEEXT): output.o ../lib/$(FLLIBNAME)
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ $< $(LINKFLTKFORMS) $(LDLIBS)
|
2002-03-26 00:39:01 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
overlay$(EXEEXT): overlay.o
|
|
|
|
|
|
|
|
pack$(EXEEXT): pack.o
|
|
|
|
|
|
|
|
pixmap$(EXEEXT): pixmap.o
|
|
|
|
|
2002-06-29 01:04:37 +04:00
|
|
|
pixmap_browser$(EXEEXT): pixmap_browser.o ../lib/$(IMGLIBNAME)
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-29 01:04:37 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) pixmap_browser.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2001-08-02 22:08:36 +04:00
|
|
|
|
2002-04-30 01:04:13 +04:00
|
|
|
preferences$(EXEEXT): preferences.o
|
2002-05-01 19:55:07 +04:00
|
|
|
preferences.cxx: preferences.fl
|
2002-04-30 01:04:13 +04:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
radio$(EXEEXT): radio.o
|
2002-04-29 18:32:13 +04:00
|
|
|
radio.cxx: radio.fl
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
resize$(EXEEXT): resize.o
|
2002-04-29 18:32:13 +04:00
|
|
|
resize.cxx: resize.fl
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
resizebox$(EXEEXT): resizebox.o
|
|
|
|
|
|
|
|
scroll$(EXEEXT): scroll.o
|
|
|
|
|
|
|
|
subwindow$(EXEEXT): subwindow.o
|
|
|
|
|
2005-12-04 03:32:31 +03:00
|
|
|
sudoku: sudoku.o
|
2005-11-25 23:40:16 +03:00
|
|
|
echo Linking $@...
|
2005-12-05 03:55:01 +03:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) sudoku.o -o $@ $(AUDIOLIBS) $(LINKFLTKIMG) $(LDLIBS)
|
2005-11-25 23:40:16 +03:00
|
|
|
$(CP) sudoku$(EXEEXT) sudoku.app/Contents/MacOS
|
2005-11-27 08:15:47 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2005-11-25 23:40:16 +03:00
|
|
|
|
2005-12-04 03:32:31 +03:00
|
|
|
sudoku.exe: sudoku.o sudoku.rc
|
|
|
|
echo Linking $@...
|
|
|
|
windres sudoku.rc sudokures.o
|
2005-12-05 03:55:01 +03:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) sudoku.o sudokures.o -o $@ $(AUDIOLIBS) $(LINKFLTKIMG) $(LDLIBS)
|
2005-12-04 03:32:31 +03:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
symbols$(EXEEXT): symbols.o
|
|
|
|
|
|
|
|
tabs$(EXEEXT): tabs.o
|
2002-04-29 18:32:13 +04:00
|
|
|
tabs.cxx: tabs.fl
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
threads$(EXEEXT): threads.o
|
|
|
|
|
|
|
|
tile$(EXEEXT): tile.o
|
|
|
|
|
|
|
|
tiled_image$(EXEEXT): tiled_image.o
|
|
|
|
|
|
|
|
valuators$(EXEEXT): valuators.o
|
2002-04-29 18:32:13 +04:00
|
|
|
valuators.cxx: valuators.fl
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
# All OpenGL demos depend on the FLTK and FLTK_GL libraries...
|
|
|
|
$(GLALL): ../lib/$(LIBNAME) ../lib/$(GLLIBNAME)
|
|
|
|
|
2001-08-02 22:08:36 +04:00
|
|
|
# OpenGL demos...
|
2001-11-18 15:48:38 +03:00
|
|
|
CubeView$(EXEEXT): CubeMain.o CubeView.o CubeViewUI.o
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) $(CXXFLAGS) -o $@ CubeMain.o CubeView.o CubeViewUI.o \
|
|
|
|
$(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
1999-02-23 00:52:17 +03:00
|
|
|
CubeMain.o: CubeViewUI.h CubeView.h
|
|
|
|
CubeView.o: CubeView.h
|
2002-04-29 18:32:13 +04:00
|
|
|
CubeViewUI.o: CubeViewUI.h
|
|
|
|
CubeViewUI.cxx: CubeViewUI.fl
|
1999-02-23 00:52:17 +03:00
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
cube$(EXEEXT): cube.o
|
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ cube.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2002-01-03 17:08:08 +03:00
|
|
|
fractals$(EXEEXT): fractals.o fracviewer.o
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ fractals.o fracviewer.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2001-12-13 00:33:34 +03:00
|
|
|
fullscreen$(EXEEXT): fullscreen.o
|
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ fullscreen.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2001-12-13 00:33:34 +03:00
|
|
|
glpuzzle$(EXEEXT): glpuzzle.o
|
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ glpuzzle.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2001-12-13 00:33:34 +03:00
|
|
|
gl_overlay$(EXEEXT): gl_overlay.o
|
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ gl_overlay.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
2001-12-13 00:33:34 +03:00
|
|
|
shape$(EXEEXT): shape.o
|
|
|
|
echo Linking $@...
|
2002-06-03 16:32:57 +04:00
|
|
|
$(CXX) -I.. $(CXXFLAGS) -o $@ shape.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2001-12-14 22:34:30 +03:00
|
|
|
$(POSTBUILD) $@ ../FL/mac.r
|
1998-10-21 21:15:44 +04:00
|
|
|
|
2001-11-20 00:25:35 +03:00
|
|
|
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
2005-02-25 00:14:22 +03:00
|
|
|
# End of "$Id$".
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|