2022-08-07 19:01:59 +03:00
|
|
|
#
|
|
|
|
# Makefile used to build example apps by 'make'
|
|
|
|
#
|
|
|
|
# Copyright 2020-2022 by Bill Spitzak and others.
|
|
|
|
#
|
|
|
|
# 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:
|
|
|
|
#
|
|
|
|
# https://www.fltk.org/COPYING.php
|
|
|
|
#
|
|
|
|
# Please see the following page on how to report bugs and issues:
|
|
|
|
#
|
|
|
|
# https://www.fltk.org/bugs.php
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2011-01-28 19:11:45 +03:00
|
|
|
include Makefile.FLTK
|
2010-06-07 00:28:37 +04:00
|
|
|
|
2011-01-28 19:11:45 +03:00
|
|
|
RM = rm -f
|
|
|
|
SHELL = /bin/sh
|
2019-07-28 19:22:57 +03:00
|
|
|
.SILENT:
|
2011-01-28 19:11:45 +03:00
|
|
|
|
|
|
|
# Executables
|
2023-01-21 19:27:58 +03:00
|
|
|
ALL = animgifimage$(EXEEXT) \
|
|
|
|
animgifimage-play$(EXEEXT) \
|
|
|
|
animgifimage-simple$(EXEEXT) \
|
|
|
|
animgifimage-resize$(EXEEXT) \
|
|
|
|
browser-simple$(EXEEXT) \
|
2022-01-17 02:22:16 +03:00
|
|
|
cairo-draw-x$(EXEEXT) \
|
2021-03-19 05:41:27 +03:00
|
|
|
chart-simple$(EXEEXT) \
|
2017-08-05 19:44:49 +03:00
|
|
|
draggable-group$(EXEEXT) \
|
2014-05-23 20:47:21 +04:00
|
|
|
howto-add_fd-and-popen$(EXEEXT) \
|
2013-03-23 22:40:53 +04:00
|
|
|
howto-browser-with-icons$(EXEEXT) \
|
2011-01-11 01:25:59 +03:00
|
|
|
howto-drag-and-drop$(EXEEXT) \
|
2019-08-22 22:15:41 +03:00
|
|
|
howto-draw-an-x$(EXEEXT) \
|
2022-08-07 19:01:59 +03:00
|
|
|
howto-flex-simple$(EXEEXT) \
|
2017-09-11 03:50:06 +03:00
|
|
|
howto-menu-with-images$(EXEEXT) \
|
2010-10-23 17:19:37 +04:00
|
|
|
howto-parse-args$(EXEEXT) \
|
2019-08-14 22:11:38 +03:00
|
|
|
howto-remap-numpad-keyboard-keys$(EXEEXT) \
|
2017-10-30 06:43:42 +03:00
|
|
|
howto-simple-svg$(EXEEXT) \
|
2010-10-26 06:32:02 +04:00
|
|
|
howto-text-over-image-button$(EXEEXT) \
|
2010-12-09 03:05:24 +03:00
|
|
|
menubar-add$(EXEEXT) \
|
2010-12-22 02:04:16 +03:00
|
|
|
nativefilechooser-simple-app$(EXEEXT) \
|
2018-12-09 19:52:55 +03:00
|
|
|
nativefilechooser-simple$(EXEEXT) \
|
2012-02-29 09:37:30 +04:00
|
|
|
progress-simple$(EXEEXT) \
|
2014-08-28 13:13:27 +04:00
|
|
|
shapedwindow$(EXEEXT) \
|
2018-12-09 19:52:55 +03:00
|
|
|
simple-terminal$(EXEEXT) \
|
2010-10-26 16:21:17 +04:00
|
|
|
table-as-container$(EXEEXT) \
|
2010-11-30 07:39:30 +03:00
|
|
|
table-simple$(EXEEXT) \
|
2010-11-30 20:02:11 +03:00
|
|
|
table-sort$(EXEEXT) \
|
2010-12-10 10:49:22 +03:00
|
|
|
table-spreadsheet$(EXEEXT) \
|
2010-12-10 21:28:07 +03:00
|
|
|
table-spreadsheet-with-keyboard-nav$(EXEEXT) \
|
2012-04-14 23:45:50 +04:00
|
|
|
table-with-keynav$(EXEEXT) \
|
2019-08-20 16:34:09 +03:00
|
|
|
table-with-right-column-stretch-fit$(EXEEXT) \
|
2010-06-07 01:24:06 +04:00
|
|
|
tabs-simple$(EXEEXT) \
|
2010-12-10 08:27:20 +03:00
|
|
|
textdisplay-with-colors$(EXEEXT) \
|
2010-12-09 23:26:00 +03:00
|
|
|
texteditor-simple$(EXEEXT) \
|
2018-08-29 22:54:10 +03:00
|
|
|
texteditor-with-dynamic-colors$(EXEEXT) \
|
2012-04-18 19:20:20 +04:00
|
|
|
tree-as-container$(EXEEXT) \
|
2013-11-10 08:33:44 +04:00
|
|
|
tree-custom-draw-items$(EXEEXT) \
|
2013-12-16 14:26:44 +04:00
|
|
|
tree-custom-sort$(EXEEXT) \
|
2012-04-27 06:11:37 +04:00
|
|
|
tree-of-tables$(EXEEXT) \
|
2018-12-09 19:52:55 +03:00
|
|
|
tree-simple$(EXEEXT) \
|
2010-06-07 01:43:59 +04:00
|
|
|
wizard-simple$(EXEEXT)
|
2010-06-07 00:28:37 +04:00
|
|
|
|
|
|
|
# default target -- build everything
|
2011-01-06 01:28:39 +03:00
|
|
|
default all: $(ALL)
|
2010-06-07 00:28:37 +04:00
|
|
|
|
2022-01-17 02:22:16 +03:00
|
|
|
# Special rules for building cairo app
|
|
|
|
cairo-draw-x.o: cairo-draw-x.cxx
|
|
|
|
@echo "*** Compile $<..."
|
|
|
|
$(CXX) -I.. $(CXXFLAGS_CAIRO) -c $< -o $@
|
|
|
|
cairo-draw-x$(EXEEXT): cairo-draw-x.o
|
|
|
|
@echo "*** Link $<..."
|
|
|
|
$(CXX) $< $(LINKFLTK) $(LINKFLTK_CAIRO) -o $@
|
|
|
|
|
2010-06-07 00:28:37 +04:00
|
|
|
# clean everything
|
|
|
|
clean:
|
|
|
|
$(RM) $(ALL)
|
|
|
|
$(RM) *.o
|
|
|
|
$(RM) core
|