2022-08-07 18:01:59 +02: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 16:11:45 +00:00
|
|
|
include Makefile.FLTK
|
2010-06-06 20:28:37 +00:00
|
|
|
|
2011-01-28 16:11:45 +00:00
|
|
|
RM = rm -f
|
|
|
|
SHELL = /bin/sh
|
2019-07-28 18:22:57 +02:00
|
|
|
.SILENT:
|
2011-01-28 16:11:45 +00:00
|
|
|
|
|
|
|
# Executables
|
2023-01-21 17:27:58 +01:00
|
|
|
ALL = animgifimage$(EXEEXT) \
|
|
|
|
animgifimage-play$(EXEEXT) \
|
|
|
|
animgifimage-simple$(EXEEXT) \
|
|
|
|
animgifimage-resize$(EXEEXT) \
|
|
|
|
browser-simple$(EXEEXT) \
|
2022-01-16 15:22:16 -08:00
|
|
|
cairo-draw-x$(EXEEXT) \
|
Improved, yet compatible, widget callback system using macros (#729)
* adds FL/fl_callback.macros.H
* adds FL_FUNCTION_CALLBACK_n(widget, function, [type, data])
* adds FL_METHOD_CALLBACK_n(widget, class, instance, method, [type, data])
* adds FL_INLINE_CALLBACK_n(widget, [type, name, data], callback_body)
* adds `examples/callback`
* full documentation
2023-08-15 11:36:58 +02:00
|
|
|
callbacks$(EXEEXT) \
|
2021-03-18 19:41:27 -07:00
|
|
|
chart-simple$(EXEEXT) \
|
2017-08-05 16:44:49 +00:00
|
|
|
draggable-group$(EXEEXT) \
|
2014-05-23 16:47:21 +00:00
|
|
|
howto-add_fd-and-popen$(EXEEXT) \
|
2013-03-23 18:40:53 +00:00
|
|
|
howto-browser-with-icons$(EXEEXT) \
|
2011-01-10 22:25:59 +00:00
|
|
|
howto-drag-and-drop$(EXEEXT) \
|
2019-08-22 12:15:41 -07:00
|
|
|
howto-draw-an-x$(EXEEXT) \
|
2022-08-07 18:01:59 +02:00
|
|
|
howto-flex-simple$(EXEEXT) \
|
2017-09-11 00:50:06 +00:00
|
|
|
howto-menu-with-images$(EXEEXT) \
|
2010-10-23 13:19:37 +00:00
|
|
|
howto-parse-args$(EXEEXT) \
|
2019-08-14 12:11:38 -07:00
|
|
|
howto-remap-numpad-keyboard-keys$(EXEEXT) \
|
2017-10-30 03:43:42 +00:00
|
|
|
howto-simple-svg$(EXEEXT) \
|
2010-10-26 02:32:02 +00:00
|
|
|
howto-text-over-image-button$(EXEEXT) \
|
2010-12-09 00:05:24 +00:00
|
|
|
menubar-add$(EXEEXT) \
|
2010-12-21 23:04:16 +00:00
|
|
|
nativefilechooser-simple-app$(EXEEXT) \
|
2018-12-09 17:52:55 +01:00
|
|
|
nativefilechooser-simple$(EXEEXT) \
|
2012-02-29 05:37:30 +00:00
|
|
|
progress-simple$(EXEEXT) \
|
2014-08-28 09:13:27 +00:00
|
|
|
shapedwindow$(EXEEXT) \
|
2018-12-09 17:52:55 +01:00
|
|
|
simple-terminal$(EXEEXT) \
|
2010-10-26 12:21:17 +00:00
|
|
|
table-as-container$(EXEEXT) \
|
2010-11-30 04:39:30 +00:00
|
|
|
table-simple$(EXEEXT) \
|
2010-11-30 17:02:11 +00:00
|
|
|
table-sort$(EXEEXT) \
|
2010-12-10 07:49:22 +00:00
|
|
|
table-spreadsheet$(EXEEXT) \
|
2010-12-10 18:28:07 +00:00
|
|
|
table-spreadsheet-with-keyboard-nav$(EXEEXT) \
|
2012-04-14 19:45:50 +00:00
|
|
|
table-with-keynav$(EXEEXT) \
|
2019-08-20 06:34:09 -07:00
|
|
|
table-with-right-column-stretch-fit$(EXEEXT) \
|
2010-06-06 21:24:06 +00:00
|
|
|
tabs-simple$(EXEEXT) \
|
2010-12-10 05:27:20 +00:00
|
|
|
textdisplay-with-colors$(EXEEXT) \
|
2010-12-09 20:26:00 +00:00
|
|
|
texteditor-simple$(EXEEXT) \
|
2018-08-29 19:54:10 +00:00
|
|
|
texteditor-with-dynamic-colors$(EXEEXT) \
|
2012-04-18 15:20:20 +00:00
|
|
|
tree-as-container$(EXEEXT) \
|
2013-11-10 04:33:44 +00:00
|
|
|
tree-custom-draw-items$(EXEEXT) \
|
2013-12-16 10:26:44 +00:00
|
|
|
tree-custom-sort$(EXEEXT) \
|
2012-04-27 02:11:37 +00:00
|
|
|
tree-of-tables$(EXEEXT) \
|
2018-12-09 17:52:55 +01:00
|
|
|
tree-simple$(EXEEXT) \
|
2010-06-06 21:43:59 +00:00
|
|
|
wizard-simple$(EXEEXT)
|
2010-06-06 20:28:37 +00:00
|
|
|
|
|
|
|
# default target -- build everything
|
2011-01-05 22:28:39 +00:00
|
|
|
default all: $(ALL)
|
2010-06-06 20:28:37 +00:00
|
|
|
|
2022-01-16 15:22:16 -08: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-06 20:28:37 +00:00
|
|
|
# clean everything
|
|
|
|
clean:
|
|
|
|
$(RM) $(ALL)
|
|
|
|
$(RM) *.o
|
|
|
|
$(RM) core
|