summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-11-18 13:44:41 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-11-18 13:44:41 +0100
commit0bc06e8f1a73e3df7f4173de90faaf5ecbd05297 (patch)
tree207a311f9a51b7c577d8a5d02de695add215bc78 /test/Makefile
parent4a2833b10447749ec626f2b26b32a0c24a38ca09 (diff)
Reformat and move clipboard demo from examples to test folder
The clipboard demo is more a test program than an example and very useful even if the examples are not built. Also update dependencies.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index b222b6b4f..c08446af8 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -29,6 +29,7 @@ CPPFILES =\
buttons.cxx \
cairo_test.cxx \
checkers.cxx \
+ clipboard.cxx \
clock.cxx \
colbrowser.cxx \
color_chooser.cxx \
@@ -121,6 +122,7 @@ ALL = \
buttons$(EXEEXT) \
cairo_test$(EXEEXT) \
checkers$(EXEEXT) \
+ clipboard$(EXEEXT) \
clock$(EXEEXT) \
colbrowser$(EXEEXT) \
color_chooser$(EXEEXT) \
@@ -344,6 +346,11 @@ checkers_pieces.o: checkers_pieces.h
checkers_pieces.h: checkers_pieces.fl
checkers_pieces.cxx: checkers_pieces.fl ../fluid/fluid$(EXEEXT)
+clipboard$(EXEEXT): clipboard.o $(IMGLIBNAME)
+ echo Linking $@...
+ $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) clipboard.o -o $@ $(LINKFLTKIMG) $(LDLIBS)
+ $(OSX_ONLY) ../fltk-config --post $@
+
clock$(EXEEXT): clock.o
colbrowser$(EXEEXT): colbrowser.o