summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile85
-rw-r--r--examples/Makefile.FLTK55
2 files changed, 0 insertions, 140 deletions
diff --git a/examples/Makefile b/examples/Makefile
deleted file mode 100644
index 86eca0734..000000000
--- a/examples/Makefile
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# 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
-#
-################################################################################
-
-include Makefile.FLTK
-
-RM = rm -f
-SHELL = /bin/sh
-.SILENT:
-
-# Executables
-ALL = animgifimage$(EXEEXT) \
- animgifimage-play$(EXEEXT) \
- animgifimage-simple$(EXEEXT) \
- animgifimage-resize$(EXEEXT) \
- browser-simple$(EXEEXT) \
- cairo-draw-x$(EXEEXT) \
- callbacks$(EXEEXT) \
- chart-simple$(EXEEXT) \
- draggable-group$(EXEEXT) \
- grid-simple$(EXEEXT) \
- howto-add_fd-and-popen$(EXEEXT) \
- howto-browser-with-icons$(EXEEXT) \
- howto-drag-and-drop$(EXEEXT) \
- howto-draw-an-x$(EXEEXT) \
- howto-flex-simple$(EXEEXT) \
- howto-menu-with-images$(EXEEXT) \
- howto-parse-args$(EXEEXT) \
- howto-remap-numpad-keyboard-keys$(EXEEXT) \
- howto-simple-svg$(EXEEXT) \
- howto-text-over-image-button$(EXEEXT) \
- menubar-add$(EXEEXT) \
- nativefilechooser-simple-app$(EXEEXT) \
- nativefilechooser-simple$(EXEEXT) \
- progress-simple$(EXEEXT) \
- shapedwindow$(EXEEXT) \
- simple-terminal$(EXEEXT) \
- table-as-container$(EXEEXT) \
- table-simple$(EXEEXT) \
- table-sort$(EXEEXT) \
- table-spreadsheet$(EXEEXT) \
- table-spreadsheet-with-keyboard-nav$(EXEEXT) \
- table-with-keynav$(EXEEXT) \
- table-with-right-column-stretch-fit$(EXEEXT) \
- table-with-right-click-menu$(EXEEXT) \
- tabs-simple$(EXEEXT) \
- textdisplay-with-colors$(EXEEXT) \
- texteditor-simple$(EXEEXT) \
- texteditor-with-dynamic-colors$(EXEEXT) \
- tree-as-container$(EXEEXT) \
- tree-custom-draw-items$(EXEEXT) \
- tree-custom-sort$(EXEEXT) \
- tree-of-tables$(EXEEXT) \
- tree-simple$(EXEEXT) \
- wizard-simple$(EXEEXT)
-
-# default target -- build everything
-default all: $(ALL)
-
-# 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 $@
-
-# clean everything
-clean:
- $(RM) $(ALL)
- $(RM) *.o
- $(RM) core
diff --git a/examples/Makefile.FLTK b/examples/Makefile.FLTK
deleted file mode 100644
index 59899b724..000000000
--- a/examples/Makefile.FLTK
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# Included 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
-#
-################################################################################
-
-#
-# Stuff every FLTK application might need
-#
-# If you take this for use in your own project, be sure to change
-# the 'FLTKCONFIG' setting to point to where it's installed
-# on your system. Common examples:
-#
-# FLTKCONFIG = /usr/local/bin/fltk-config
-# FLTKCONFIG = /usr/local/src/fltk-1.4.x/fltk-config
-# FLTKCONFIG = ../build/fltk-config # if ../build == CMake build directory
-#
-# Set .SILENT in your Makefile if you want 'quieter' builds.
-#
-
-ifeq '$(OS)' "Windows_NT"
-EXEEXT = .exe
-endif
-
-FLTKCONFIG = ../fltk-config
-CXX = $(shell $(FLTKCONFIG) --cxx)
-CXXFLAGS = $(shell $(FLTKCONFIG) --cxxflags) -Wall -I.
-LINKFLTK = $(shell $(FLTKCONFIG) --ldstaticflags)
-LINKFLTK_GL = $(shell $(FLTKCONFIG) --use-gl --ldstaticflags)
-LINKFLTK_IMG = $(shell $(FLTKCONFIG) --use-images --ldstaticflags)
-LINKFLTK_ALL = $(shell $(FLTKCONFIG) --use-images --use-gl --ldstaticflags)
-CXXFLAGS_CAIRO = $(shell $(FLTKCONFIG) --use-cairo --cxxflags)
-LINKFLTK_CAIRO = $(shell $(FLTKCONFIG) --use-cairo --ldstaticflags)
-.SUFFIXES: .cxx .h .fl .o $(EXEEXT)
-
-# HOW TO COMPILE
-.cxx.o:
- @echo "*** Compile $<..."
- $(CXX) -I.. $(CXXFLAGS) -c $< -o $@
-
-# HOW TO LINK
-.o$(EXEEXT):
- @echo "*** Linking $@..."
- $(CXX) $< $(LINKFLTK) $(LINKFLTK_IMG) -o $@