From 0bc06e8f1a73e3df7f4173de90faaf5ecbd05297 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 18 Nov 2021 13:44:41 +0100 Subject: 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. --- test/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/Makefile') 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 -- cgit v1.2.3