1998-10-21 01:06:19 +04:00
|
|
|
#
|
2021-05-13 17:16:50 +03:00
|
|
|
# Test/example program Makefile for the Fast Light Tool Kit (FLTK).
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
2021-05-13 17:16:50 +03:00
|
|
|
# Copyright 1998-2021 by Bill Spitzak and others.
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
2011-07-19 08:49:30 +04:00
|
|
|
# This library is free software. Distribution and use rights are outlined in
|
|
|
|
# the file "COPYING" which should have been included with this file. If this
|
|
|
|
# file is missing or damaged, see the license at:
|
|
|
|
#
|
2020-06-10 17:24:39 +03:00
|
|
|
# https://www.fltk.org/COPYING.php
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
2020-07-01 19:03:10 +03:00
|
|
|
# Please see the following page on how to report bugs and issues:
|
2005-04-16 04:13:17 +04:00
|
|
|
#
|
2020-07-01 19:03:10 +03:00
|
|
|
# https://www.fltk.org/bugs.php
|
1998-10-21 01:06:19 +04:00
|
|
|
#
|
|
|
|
|
2001-08-05 20:28:03 +04:00
|
|
|
include ../makeinclude
|
|
|
|
|
2022-02-06 17:22:24 +03:00
|
|
|
CPPUNITTEST = \
|
|
|
|
unittests.cxx \
|
|
|
|
unittest_about.cxx \
|
|
|
|
unittest_points.cxx \
|
|
|
|
unittest_complex_shapes.cxx \
|
|
|
|
unittest_fast_shapes.cxx \
|
|
|
|
unittest_circles.cxx \
|
|
|
|
unittest_text.cxx \
|
|
|
|
unittest_symbol.cxx \
|
|
|
|
unittest_images.cxx \
|
|
|
|
unittest_viewport.cxx \
|
|
|
|
unittest_scrollbarsize.cxx \
|
|
|
|
unittest_schemes.cxx \
|
|
|
|
unittest_simple_terminal.cxx
|
|
|
|
|
|
|
|
OBJUNITTEST = \
|
|
|
|
unittests.o \
|
|
|
|
unittest_about.o \
|
|
|
|
unittest_points.o \
|
|
|
|
unittest_complex_shapes.o \
|
|
|
|
unittest_fast_shapes.o \
|
|
|
|
unittest_circles.o \
|
|
|
|
unittest_text.o \
|
|
|
|
unittest_symbol.o \
|
|
|
|
unittest_images.o \
|
|
|
|
unittest_viewport.o \
|
|
|
|
unittest_scrollbarsize.o \
|
|
|
|
unittest_schemes.o \
|
|
|
|
unittest_simple_terminal.o
|
|
|
|
|
1998-10-21 20:53:14 +04:00
|
|
|
CPPFILES =\
|
2001-11-24 21:07:58 +03:00
|
|
|
adjuster.cxx \
|
2019-02-09 17:39:41 +03:00
|
|
|
animated.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
arc.cxx \
|
|
|
|
ask.cxx \
|
|
|
|
bitmap.cxx \
|
2006-08-25 10:58:33 +04:00
|
|
|
blocks.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
boxtype.cxx \
|
|
|
|
browser.cxx \
|
|
|
|
button.cxx \
|
|
|
|
buttons.cxx \
|
2008-09-25 22:26:33 +04:00
|
|
|
cairo_test.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
checkers.cxx \
|
2021-11-18 15:44:41 +03:00
|
|
|
clipboard.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
clock.cxx \
|
|
|
|
colbrowser.cxx \
|
|
|
|
color_chooser.cxx \
|
|
|
|
cube.cxx \
|
|
|
|
CubeMain.cxx \
|
|
|
|
CubeView.cxx \
|
|
|
|
cursor.cxx \
|
|
|
|
curve.cxx \
|
|
|
|
demo.cxx \
|
2010-03-14 21:07:24 +03:00
|
|
|
device.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
doublebuffer.cxx \
|
|
|
|
editor.cxx \
|
|
|
|
fast_slow.cxx \
|
|
|
|
file_chooser.cxx \
|
2020-08-21 20:56:51 +03:00
|
|
|
fltk-versions.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
fonts.cxx \
|
|
|
|
forms.cxx \
|
|
|
|
fractals.cxx \
|
2019-01-17 20:12:41 +03:00
|
|
|
fracviewer.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
fullscreen.cxx \
|
|
|
|
gl_overlay.cxx \
|
|
|
|
glpuzzle.cxx \
|
|
|
|
hello.cxx \
|
2017-02-08 05:06:52 +03:00
|
|
|
help_dialog.cxx \
|
2014-06-16 15:39:32 +04:00
|
|
|
icon.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
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 \
|
2010-01-14 02:13:59 +03:00
|
|
|
native-filechooser.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
navigation.cxx \
|
2016-03-05 03:53:40 +03:00
|
|
|
offscreen.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
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 \
|
|
|
|
resize.cxx \
|
2020-07-15 02:11:31 +03:00
|
|
|
resizebox.cxx \
|
|
|
|
resize-example1.cxx \
|
|
|
|
resize-example2.cxx \
|
|
|
|
resize-example3a.cxx \
|
|
|
|
resize-example3b.cxx \
|
|
|
|
resize-example3c.cxx \
|
|
|
|
resize-example4a.cxx \
|
|
|
|
resize-example4b.cxx \
|
2021-11-08 19:48:57 +03:00
|
|
|
resize-example5a.cxx \
|
|
|
|
resize-example5b.cxx \
|
|
|
|
resize-example5c.cxx \
|
2009-04-24 13:28:30 +04:00
|
|
|
rotated_text.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
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 \
|
2009-11-14 16:05:37 +03:00
|
|
|
table.cxx \
|
2001-11-24 21:07:58 +03:00
|
|
|
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 \
|
2009-11-14 18:49:12 +03:00
|
|
|
tree.cxx \
|
2014-09-05 16:45:49 +04:00
|
|
|
twowin.cxx \
|
2014-09-27 03:58:05 +04:00
|
|
|
utf8.cxx \
|
2019-02-09 17:39:41 +03:00
|
|
|
valuators.cxx \
|
2022-02-06 17:22:24 +03:00
|
|
|
windowfocus.cxx \
|
|
|
|
$(CPPUNITTEST)
|
2008-11-11 01:08:30 +03:00
|
|
|
|
2001-11-18 15:48:38 +03:00
|
|
|
ALL = \
|
2015-03-16 21:23:59 +03:00
|
|
|
animated$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
adjuster$(EXEEXT) \
|
|
|
|
arc$(EXEEXT) \
|
|
|
|
ask$(EXEEXT) \
|
|
|
|
bitmap$(EXEEXT) \
|
2006-08-25 10:58:33 +04:00
|
|
|
blocks$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
boxtype$(EXEEXT) \
|
|
|
|
browser$(EXEEXT) \
|
|
|
|
button$(EXEEXT) \
|
|
|
|
buttons$(EXEEXT) \
|
2008-09-25 22:26:33 +04:00
|
|
|
cairo_test$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
checkers$(EXEEXT) \
|
2021-11-18 15:44:41 +03:00
|
|
|
clipboard$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
clock$(EXEEXT) \
|
|
|
|
colbrowser$(EXEEXT) \
|
|
|
|
color_chooser$(EXEEXT) \
|
|
|
|
cursor$(EXEEXT) \
|
|
|
|
curve$(EXEEXT) \
|
|
|
|
demo$(EXEEXT) \
|
2010-03-14 21:07:24 +03:00
|
|
|
device$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
doublebuffer$(EXEEXT) \
|
|
|
|
editor$(EXEEXT) \
|
|
|
|
fast_slow$(EXEEXT) \
|
|
|
|
file_chooser$(EXEEXT) \
|
2020-08-21 20:56:51 +03:00
|
|
|
fltk-versions$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
fonts$(EXEEXT) \
|
|
|
|
forms$(EXEEXT) \
|
|
|
|
hello$(EXEEXT) \
|
2017-02-08 05:06:52 +03:00
|
|
|
help_dialog$(EXEEXT) \
|
2014-06-16 15:39:32 +04:00
|
|
|
icon$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
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) \
|
2010-01-14 02:13:59 +03:00
|
|
|
native-filechooser$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
navigation$(EXEEXT) \
|
2016-03-05 03:53:40 +03:00
|
|
|
offscreen$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
output$(EXEEXT) \
|
|
|
|
overlay$(EXEEXT) \
|
|
|
|
pack$(EXEEXT) \
|
|
|
|
pixmap$(EXEEXT) \
|
|
|
|
pixmap_browser$(EXEEXT) \
|
2002-04-30 01:04:13 +04:00
|
|
|
preferences$(EXEEXT) \
|
2010-03-14 21:07:24 +03:00
|
|
|
device$(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) \
|
2020-07-15 02:11:31 +03:00
|
|
|
resize-example1$(EXEEXT) \
|
|
|
|
resize-example2$(EXEEXT) \
|
|
|
|
resize-example3a$(EXEEXT) \
|
|
|
|
resize-example3b$(EXEEXT) \
|
|
|
|
resize-example3c$(EXEEXT) \
|
|
|
|
resize-example4a$(EXEEXT) \
|
|
|
|
resize-example4b$(EXEEXT) \
|
2021-11-08 19:48:57 +03:00
|
|
|
resize-example5a$(EXEEXT) \
|
|
|
|
resize-example5b$(EXEEXT) \
|
|
|
|
resize-example5c$(EXEEXT) \
|
2009-04-24 13:28:30 +04:00
|
|
|
rotated_text$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
scroll$(EXEEXT) \
|
|
|
|
subwindow$(EXEEXT) \
|
2005-11-25 23:40:16 +03:00
|
|
|
sudoku$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
symbols$(EXEEXT) \
|
2009-11-14 16:05:37 +03:00
|
|
|
table$(EXEEXT) \
|
2001-11-18 15:48:38 +03:00
|
|
|
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) \
|
2009-11-14 18:49:12 +03:00
|
|
|
tree$(EXEEXT) \
|
2014-09-05 16:45:49 +04:00
|
|
|
twowin$(EXEEXT) \
|
2008-09-11 03:56:49 +04:00
|
|
|
valuators$(EXEEXT) \
|
2014-09-27 03:58:05 +04:00
|
|
|
utf8$(EXEEXT) \
|
|
|
|
windowfocus$(EXEEXT)
|
2008-09-11 03:56:49 +04:00
|
|
|
|
2001-11-18 15:48:38 +03:00
|
|
|
|
|
|
|
GLALL = \
|
|
|
|
cube$(EXEEXT) \
|
|
|
|
CubeView$(EXEEXT) \
|
|
|
|
fractals$(EXEEXT) \
|
|
|
|
fullscreen$(EXEEXT) \
|
|
|
|
gl_overlay$(EXEEXT) \
|
|
|
|
glpuzzle$(EXEEXT) \
|
2022-02-06 17:22:24 +03:00
|
|
|
shape$(EXEEXT) \
|
|
|
|
unittests$(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)
|
2019-01-18 17:44:24 +03:00
|
|
|
makedepend -Y -I.. -f makedepend -w 20 $(CPPFILES)
|
|
|
|
echo "# DO NOT DELETE THIS LINE -- make depend depends on it." > makedepend.tmp
|
|
|
|
echo "" >> makedepend.tmp
|
2020-06-13 13:50:06 +03:00
|
|
|
grep '^[a-zA-Z]' makedepend | ( LC_ALL=C sort -u -f >> makedepend.tmp; )
|
2019-01-18 17:44:24 +03:00
|
|
|
mv makedepend.tmp makedepend
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2002-03-28 16:20:11 +03:00
|
|
|
# Automatically generated dependencies...
|
|
|
|
include makedepend
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
clean:
|
2006-07-27 23:26:11 +04:00
|
|
|
$(RM) $(ALL) $(GLALL) core
|
2021-05-13 17:16:50 +03:00
|
|
|
$(RMDIR) *.app
|
2006-07-27 23:26:11 +04:00
|
|
|
$(RM) *.o core.* *~ *.bck *.bak
|
2011-01-22 19:56:12 +03:00
|
|
|
$(RM) CubeViewUI.cxx CubeViewUI.h
|
2020-01-04 03:33:06 +03:00
|
|
|
$(RM) checkers_pieces.cxx checkers_pieces.h
|
2011-01-22 19:56:12 +03:00
|
|
|
$(RM) fast_slow.cxx fast_slow.h
|
|
|
|
$(RM) inactive.cxx inactive.h
|
|
|
|
$(RM) keyboard_ui.cxx keyboard_ui.h
|
|
|
|
$(RM) mandelbrot_ui.cxx mandelbrot_ui.h
|
|
|
|
$(RM) preferences.cxx preferences.h
|
|
|
|
$(RM) radio.cxx radio.h
|
|
|
|
$(RM) resize.cxx resize.h
|
|
|
|
$(RM) tabs.cxx tabs.h
|
|
|
|
$(RM) tree.cxx tree.h
|
|
|
|
$(RM) valuators.cxx valuators.h
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2006-07-25 23:06:56 +04:00
|
|
|
install: all
|
2005-04-16 04:01:49 +04:00
|
|
|
echo "Installing example programs to $(DESTDIR)$(docdir)/examples..."
|
2007-02-06 22:35:28 +03:00
|
|
|
-$(INSTALL_DIR) $(DESTDIR)$(docdir)/examples
|
|
|
|
for file in *.h *.cxx *.fl demo.menu; do \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/examples; \
|
|
|
|
done
|
|
|
|
-$(INSTALL_DIR) $(DESTDIR)$(docdir)/examples/pixmaps
|
|
|
|
for file in pixmaps/*.xbm pixmaps/*.xpm; do \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/examples/pixmaps; \
|
|
|
|
done
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2006-01-15 21:02:44 +03:00
|
|
|
install-linux:
|
|
|
|
echo Installing games to $(DESTDIR)$(bindir)...
|
2007-02-06 22:35:28 +03:00
|
|
|
-$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
2008-02-25 17:43:34 +03:00
|
|
|
-$(INSTALL_DIR) $(DESTDIR)/usr/share/applications
|
2007-02-06 22:35:28 +03:00
|
|
|
-$(INSTALL_DIR) $(DESTDIR)/usr/share/icons/hicolor/32x32/apps
|
|
|
|
-$(INSTALL_DIR) $(DESTDIR)/usr/share/icons/hicolor/128x128/apps
|
2006-08-25 10:58:33 +04:00
|
|
|
for game in blocks checkers sudoku; do \
|
2007-02-06 22:35:28 +03:00
|
|
|
$(INSTALL_BIN) $$game $(DESTDIR)$(bindir); \
|
2008-02-25 17:43:34 +03:00
|
|
|
$(INSTALL_DATA) desktop/$$game.desktop $(DESTDIR)/usr/share/applications; \
|
2007-02-06 22:35:28 +03:00
|
|
|
$(INSTALL_DATA) desktop/$$game-32.png $(DESTDIR)/usr/share/icons/hicolor/32x32/apps/$$game.png; \
|
|
|
|
$(INSTALL_DATA) desktop/$$game-128.png $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/$$game.png; \
|
2006-01-15 21:02:44 +03:00
|
|
|
done
|
|
|
|
|
|
|
|
install-osx:
|
|
|
|
echo Installing games in $(DESTDIR)/Applications...
|
2006-08-25 10:58:33 +04:00
|
|
|
for game in blocks checkers sudoku; do \
|
2006-01-15 21:02:44 +03:00
|
|
|
if test ! -d $(DESTDIR)/Applications/$$game.app; then \
|
2007-02-06 22:35:28 +03:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)/Applications/$$game.app; \
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)/Applications/$$game.app/Contents; \
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)/Applications/$$game.app/Contents/MacOS; \
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)/Applications/$$game.app/Contents/Resources; \
|
2006-01-15 21:02:44 +03:00
|
|
|
fi; \
|
2007-02-06 22:35:28 +03:00
|
|
|
$(INSTALL_DATA) $$game.app/Contents/Info.plist $(DESTDIR)/Applications/$$game.app/Contents; \
|
|
|
|
$(INSTALL_BIN) $$game.app/Contents/MacOS/$$game $(DESTDIR)/Applications/$$game.app/Contents/MacOS; \
|
|
|
|
$(INSTALL_DATA) $$game.app/Contents/Resources/$$game.icns $(DESTDIR)/Applications/$$game.app/Contents/Resources; \
|
2006-01-15 21:02:44 +03:00
|
|
|
done
|
|
|
|
|
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
|
|
|
|
2006-01-15 21:02:44 +03:00
|
|
|
uninstall-linux:
|
|
|
|
echo Removing games from $(DESTDIR)$(bindir)...
|
2006-08-25 10:58:33 +04:00
|
|
|
for game in blocks checkers sudoku; do \
|
2006-01-15 21:02:44 +03:00
|
|
|
$(RM) $(DESTDIR)$(bindir)/$$game; \
|
2008-02-25 17:43:34 +03:00
|
|
|
$(RM) $(DESTDIR)/usr/share/applications/$$game.desktop; \
|
2006-01-15 21:02:44 +03:00
|
|
|
$(RM) $(DESTDIR)/usr/share/icons/hicolor/32x32/apps/$$game.png; \
|
|
|
|
$(RM) $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/$$game.png; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-osx:
|
|
|
|
echo Removing games from $(DESTDIR)/Applications...
|
2007-02-06 22:35:28 +03:00
|
|
|
$(RMDIR) $(DESTDIR)/Applications/blocks.app
|
|
|
|
$(RMDIR) $(DESTDIR)/Applications/checkers.app
|
|
|
|
$(RMDIR) $(DESTDIR)/Applications/sudoku.app
|
2006-01-15 21:02:44 +03:00
|
|
|
|
2000-06-03 16:04:12 +04:00
|
|
|
# FLUID file rules
|
2020-12-02 23:12:02 +03:00
|
|
|
.fl.cxx .fl.h:
|
2007-02-13 16:55:58 +03:00
|
|
|
echo Generating $@ and header from $<...
|
2020-06-10 17:24:39 +03:00
|
|
|
$(FLUID_BUILD) -c $<
|
2000-06-03 16:04:12 +04:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
# All demos depend on the FLTK library...
|
2008-12-29 22:45:46 +03:00
|
|
|
$(ALL): $(LIBNAME)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
# General demos...
|
2022-02-06 17:22:24 +03:00
|
|
|
unittests$(EXEEXT): $(OBJUNITTEST)
|
2009-04-12 17:48:03 +04:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
adjuster$(EXEEXT): adjuster.o
|
|
|
|
|
2015-03-16 21:23:59 +03:00
|
|
|
animated$(EXEEXT): animated.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
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
|
|
|
|
|
2006-08-25 10:58:33 +04:00
|
|
|
blocks$(EXEEXT): blocks.o
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) blocks.o -o $@ $(AUDIOLIBS) $(LINKFLTK) $(LDLIBS)
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) $(RM) -f -r blocks.app
|
|
|
|
$(OSX_ONLY) mkdir -p blocks.app/Contents/MacOS blocks.app/Contents/Resources
|
2008-02-26 18:26:08 +03:00
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) blocks$(EXEEXT) blocks.app/Contents/MacOS
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) mac-resources/blocks.icns blocks.app/Contents/Resources/
|
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) mac-resources/blocks.plist blocks.app/Contents/Info.plist
|
2006-08-25 10:58:33 +04:00
|
|
|
|
2020-01-04 03:33:06 +03:00
|
|
|
checkers$(EXEEXT): checkers.o checkers_pieces.o
|
2006-01-15 21:02:44 +03:00
|
|
|
echo Linking $@...
|
2020-01-04 03:33:06 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) checkers.o checkers_pieces.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) $(RM) -f -r checkers.app
|
|
|
|
$(OSX_ONLY) mkdir -p checkers.app/Contents/MacOS checkers.app/Contents/Resources
|
2008-02-26 18:26:08 +03:00
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) checkers$(EXEEXT) checkers.app/Contents/MacOS
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) mac-resources/checkers.icns checkers.app/Contents/Resources/
|
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) mac-resources/checkers.plist checkers.app/Contents/Info.plist
|
|
|
|
|
2020-01-04 03:33:06 +03:00
|
|
|
checkers.cxx: checkers_pieces.h
|
|
|
|
checkers_pieces.o: checkers_pieces.h
|
|
|
|
checkers_pieces.h: checkers_pieces.fl
|
|
|
|
checkers_pieces.cxx: checkers_pieces.fl ../fluid/fluid$(EXEEXT)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2021-11-18 15:44:41 +03:00
|
|
|
clipboard$(EXEEXT): clipboard.o $(IMGLIBNAME)
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) clipboard.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
clock$(EXEEXT): clock.o
|
|
|
|
|
|
|
|
colbrowser$(EXEEXT): colbrowser.o
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2020-06-21 14:38:42 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ colbrowser.o $(LINKFLTK) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2016-09-07 19:05:55 +03:00
|
|
|
$(OSX_ONLY) mkdir -p colbrowser.app/Contents/Resources
|
|
|
|
$(OSX_ONLY) cp -f rgb.txt colbrowser.app/Contents/Resources/
|
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 $@...
|
2020-06-21 14:38:42 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ demo.o $(LINKFLTK) $(LDLIBS)
|
2016-09-01 22:41:26 +03:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
$(OSX_ONLY) mkdir -p demo.app/Contents/Resources
|
|
|
|
$(OSX_ONLY) cp -f demo.menu demo.app/Contents/Resources/
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2020-06-29 12:35:58 +03:00
|
|
|
device$(EXEEXT): device.o $(IMGLIBNAME)
|
2010-03-14 21:07:24 +03:00
|
|
|
echo Linking $@...
|
2020-06-29 12:35:58 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) device.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2010-03-14 21:07:24 +03:00
|
|
|
|
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 $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) editor.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) cp -f mac-resources/editor.plist editor.app/Contents/Info.plist
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
fast_slow$(EXEEXT): fast_slow.o
|
2006-07-27 23:26:11 +04:00
|
|
|
fast_slow.cxx: fast_slow.fl ../fluid/fluid$(EXEEXT)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2008-12-29 22:45:46 +03:00
|
|
|
file_chooser$(EXEEXT): file_chooser.o $(IMGLIBNAME)
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) file_chooser.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2020-08-21 20:56:51 +03:00
|
|
|
fltk-versions$(EXEEXT): fltk-versions.o
|
|
|
|
|
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 $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ forms.o $(LINKFLTKFORMS) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
hello$(EXEEXT): hello.o
|
|
|
|
|
2017-02-08 05:06:52 +03:00
|
|
|
help_dialog$(EXEEXT): help_dialog.o $(IMGLIBNAME)
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2017-02-08 05:06:52 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) help_dialog.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2017-02-08 05:06:52 +03:00
|
|
|
$(OSX_ONLY) mkdir -p help_dialog.app/Contents/Resources
|
|
|
|
$(OSX_ONLY) cp -f help_dialog.html help_dialog.app/Contents/Resources/
|
2002-01-13 21:38:24 +03:00
|
|
|
|
2014-06-16 15:39:32 +04:00
|
|
|
icon$(EXEEXT): icon.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
iconize$(EXEEXT): iconize.o
|
|
|
|
|
|
|
|
image$(EXEEXT): image.o
|
|
|
|
|
|
|
|
inactive$(EXEEXT): inactive.o
|
2006-07-27 23:26:11 +04:00
|
|
|
inactive.cxx: inactive.fl ../fluid/fluid$(EXEEXT)
|
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 $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ keyboard.o keyboard_ui.o $(LINKFLTK) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2002-04-29 18:32:13 +04:00
|
|
|
keyboard_ui.o: keyboard_ui.h
|
2006-07-27 23:26:11 +04:00
|
|
|
keyboard_ui.cxx: keyboard_ui.fl ../fluid/fluid$(EXEEXT)
|
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 $@...
|
2020-06-21 14:38:42 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ label.o $(LINKFLTK) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
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 $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ mandelbrot.o mandelbrot_ui.o $(LINKFLTK) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2002-04-29 18:32:13 +04:00
|
|
|
mandelbrot_ui.o: mandelbrot_ui.h
|
2006-07-27 23:26:11 +04:00
|
|
|
mandelbrot_ui.cxx: mandelbrot_ui.fl ../fluid/fluid$(EXEEXT)
|
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
|
|
|
|
|
2010-01-14 21:42:13 +03:00
|
|
|
native-filechooser$(EXEEXT): native-filechooser.o $(IMGLIBNAME)
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) native-filechooser.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2010-01-14 02:13:59 +03:00
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
navigation$(EXEEXT): navigation.o
|
|
|
|
|
2016-03-05 03:53:40 +03:00
|
|
|
offscreen$(EXEEXT): offscreen.o
|
|
|
|
|
2008-12-29 22:45:46 +03:00
|
|
|
output$(EXEEXT): output.o $(FLLIBNAME)
|
2002-03-26 00:39:01 +03:00
|
|
|
echo Linking $@...
|
2020-06-21 14:38:42 +03:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ output.o $(LINKFLTK) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
overlay$(EXEEXT): overlay.o
|
|
|
|
|
|
|
|
pack$(EXEEXT): pack.o
|
|
|
|
|
|
|
|
pixmap$(EXEEXT): pixmap.o
|
|
|
|
|
2008-12-29 22:45:46 +03:00
|
|
|
pixmap_browser$(EXEEXT): pixmap_browser.o $(IMGLIBNAME)
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) pixmap_browser.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2001-08-02 22:08:36 +04:00
|
|
|
|
2002-04-30 01:04:13 +04:00
|
|
|
preferences$(EXEEXT): preferences.o
|
2006-07-27 23:26:11 +04:00
|
|
|
preferences.cxx: preferences.fl ../fluid/fluid$(EXEEXT)
|
2002-04-30 01:04:13 +04:00
|
|
|
|
2010-03-14 21:07:24 +03:00
|
|
|
device$(EXEEXT): device.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
radio$(EXEEXT): radio.o
|
2006-07-27 23:26:11 +04:00
|
|
|
radio.cxx: radio.fl ../fluid/fluid$(EXEEXT)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
resize$(EXEEXT): resize.o
|
2006-07-27 23:26:11 +04:00
|
|
|
resize.cxx: resize.fl ../fluid/fluid$(EXEEXT)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
resizebox$(EXEEXT): resizebox.o
|
|
|
|
|
2020-07-15 02:11:31 +03:00
|
|
|
resize-example1$(EXEEXT): resize-example1.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example1.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example2$(EXEEXT): resize-example2.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example2.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example3a$(EXEEXT): resize-example3a.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example3a.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example3b$(EXEEXT): resize-example3b.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example3b.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example3c$(EXEEXT): resize-example3c.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example3c.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example4a$(EXEEXT): resize-example4a.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example4a.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example4b$(EXEEXT): resize-example4b.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example4b.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
2021-11-08 19:48:57 +03:00
|
|
|
resize-example5a$(EXEEXT): resize-example5a.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example5a.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example5b$(EXEEXT): resize-example5b.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example5b.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
|
|
|
resize-example5c$(EXEEXT): resize-example5c.o resize-arrows.o
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) resize-example5c.o resize-arrows.o -o $@ $(LINKFLTK) $(LDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
2009-04-24 13:28:30 +04:00
|
|
|
rotated_text$(EXEEXT): rotated_text.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
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 $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) sudoku.o -o $@ $(AUDIOLIBS) $(LINKFLTKIMG) $(LDLIBS)
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) $(RM) -f -r sudoku.app
|
|
|
|
$(OSX_ONLY) mkdir -p sudoku.app/Contents/MacOS sudoku.app/Contents/Resources
|
2008-02-26 18:26:08 +03:00
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) sudoku$(EXEEXT) sudoku.app/Contents/MacOS
|
2021-05-13 17:16:50 +03:00
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) mac-resources/sudoku.icns sudoku.app/Contents/Resources/
|
|
|
|
$(OSX_ONLY) $(INSTALL_BIN) mac-resources/sudoku.plist sudoku.app/Contents/Info.plist
|
2005-11-25 23:40:16 +03:00
|
|
|
|
2005-12-04 03:32:31 +03:00
|
|
|
sudoku.exe: sudoku.o sudoku.rc
|
|
|
|
echo Linking $@...
|
2010-12-08 12:48:07 +03:00
|
|
|
$(RC) sudoku.rc sudokures.o
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) 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
|
|
|
|
|
2009-11-14 18:49:12 +03:00
|
|
|
table$(EXEEXT): table.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
tabs$(EXEEXT): tabs.o
|
2006-07-27 23:26:11 +04:00
|
|
|
tabs.cxx: tabs.fl ../fluid/fluid$(EXEEXT)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
threads$(EXEEXT): threads.o
|
2006-01-08 18:50:01 +03:00
|
|
|
# This ensures that we have this dependency even if threads are not
|
|
|
|
# enabled in the current tree...
|
|
|
|
threads.o: threads.h
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
tile$(EXEEXT): tile.o
|
|
|
|
|
|
|
|
tiled_image$(EXEEXT): tiled_image.o
|
|
|
|
|
2009-11-14 18:49:12 +03:00
|
|
|
tree$(EXEEXT): tree.o
|
2011-01-22 19:56:12 +03:00
|
|
|
tree.cxx: tree.fl ../fluid/fluid$(EXEEXT)
|
2009-11-14 18:49:12 +03:00
|
|
|
|
2014-09-05 16:45:49 +04:00
|
|
|
twowin$(EXEEXT): twowin.o
|
|
|
|
|
2002-01-13 21:38:24 +03:00
|
|
|
valuators$(EXEEXT): valuators.o
|
2006-07-27 23:26:11 +04:00
|
|
|
valuators.cxx: valuators.fl ../fluid/fluid$(EXEEXT)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
|
|
|
# All OpenGL demos depend on the FLTK and FLTK_GL libraries...
|
2008-12-29 22:45:46 +03:00
|
|
|
$(GLALL): $(LIBNAME) $(GLLIBNAME)
|
2002-01-13 21:38:24 +03:00
|
|
|
|
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 $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ \
|
2006-06-19 22:29:31 +04:00
|
|
|
CubeMain.o CubeView.o CubeViewUI.o \
|
2002-06-03 16:32:57 +04:00
|
|
|
$(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2006-09-19 12:38:53 +04:00
|
|
|
CubeMain.o: CubeViewUI.h CubeView.h CubeViewUI.cxx
|
1999-02-23 00:52:17 +03:00
|
|
|
CubeView.o: CubeView.h
|
2006-09-19 12:38:53 +04:00
|
|
|
CubeViewUI.o: CubeViewUI.cxx CubeViewUI.h
|
2006-07-27 23:26:11 +04:00
|
|
|
CubeViewUI.cxx: CubeViewUI.fl ../fluid/fluid$(EXEEXT)
|
1999-02-23 00:52:17 +03:00
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
cube$(EXEEXT): cube.o
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ cube.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2007-03-06 20:03:25 +03:00
|
|
|
|
2002-01-03 17:08:08 +03:00
|
|
|
fractals$(EXEEXT): fractals.o fracviewer.o
|
2001-12-13 00:33:34 +03:00
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ fractals.o fracviewer.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2007-03-06 20:03:25 +03:00
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
fullscreen$(EXEEXT): fullscreen.o
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ fullscreen.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2007-03-06 20:03:25 +03:00
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
glpuzzle$(EXEEXT): glpuzzle.o
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ glpuzzle.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2007-03-06 20:03:25 +03:00
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
gl_overlay$(EXEEXT): gl_overlay.o
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ gl_overlay.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
2007-03-06 20:03:25 +03:00
|
|
|
|
2022-02-06 17:22:24 +03:00
|
|
|
unittests$(EXEEXT): $(OBJUNITTEST)
|
|
|
|
echo Linking $@...
|
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJUNITTEST) $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
|
|
|
|
2001-12-13 00:33:34 +03:00
|
|
|
shape$(EXEEXT): shape.o
|
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ shape.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|
1998-10-21 21:15:44 +04:00
|
|
|
|
2008-09-25 22:26:33 +04:00
|
|
|
cairo_test$(EXEEXT): cairo_test.o
|
Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
+ added new USE_CAIRO config preprocessor def.
to differentiate from HAVE_CAIRO so that we can use the cairo lib
without forcing the full fltk lib to be linked against it.
In that case, cairo autolink context functionality which needs fltk lib
instrumentation is disabled.
+ added new --enable-cairoext, which correspond to previous --enable-cairo.
now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
from referencing cairo.
In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is
created. This lib, similarly to local versions of png,jpeg and zlib,
is not generated if cairo is not enabled.
+ added cairo to fltk-config : now new --use-cairo flag is available
+ modified all unix like makefiles to now generate minimum cairo deps and also
new libfltk_cairo lib.
+ added new cairo subdir to permit conditional fltk_cairo lib generation.
+ vc2005 project minimum update to compile without be broken, but still needs
to create a similar fltk_cairo independent lib. For now, it works as before
with a dedicated cairo env. similar to --enable-cairoext context in unix.
+ regression tested ok with cairo disabled on win32, mac osx, mingw.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 05:42:35 +04:00
|
|
|
echo Linking $@...
|
2013-09-21 21:23:09 +04:00
|
|
|
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(CAIROFLAGS) $(LDFLAGS) -o $@ cairo_test.o $(LINKFLTK) $(LINKFLTKCAIRO) $(GLDLIBS)
|
2012-12-05 18:53:03 +04:00
|
|
|
$(OSX_ONLY) ../fltk-config --post $@
|