summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2019-06-22 09:18:37 -0700
committerGreg Ercolano <erco@seriss.com>2019-06-22 09:18:37 -0700
commit446c707771ce946e491b790553c27a878aa342f1 (patch)
tree84ee88f2692fc9c4a57e31285ba2f48be0396641 /test/Makefile
parentc9c51dbc48f95b06e03cc9c504efd5061732614a (diff)
Additional Makefile rules and source files for issue #29.
This adds source png and xcf files for checkers pieces. Also adds Makefile rules using xxd to convert .png -> .h as requested by Albrecht in issue #29, (hmm, no comment numbers github?)..message dated "June 22nd 2019 4:22am PDT".
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index a969d6c0d..a987180cc 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -580,6 +580,16 @@ cairo_test$(EXEEXT): cairo_test.o
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(CAIROFLAGS) $(LDFLAGS) -o $@ cairo_test.o $(LINKFLTK) $(LINKFLTKCAIRO) $(GLDLIBS)
$(OSX_ONLY) ../fltk-config --post $@
+# Checkers .png -> .h conversion
+pixmaps/black_checker_king_png.h: pixmaps/black_checker_king.png
+ xxd -i $< > $@
+pixmaps/white_checker_king_png.h: pixmaps/white_checker_king.png
+ xxd -i $< > $@
+pixmaps/black_checker_png.h: pixmaps/black_checker.png
+ xxd -i $< > $@
+pixmaps/white_checker_png.h: pixmaps/white_checker.png
+ xxd -i $< > $@
+
#
# End of "$Id$".
#