# (c) 1995-2015 by Artsoft Entertainment
# Holger Schemel
# info@artsoft.org
-# http://www.artsoft.org/
+# https://www.artsoft.org/
# -----------------------------------------------------------------------------
# graphics/gfx_classic/Makefile
# =============================================================================
RocksSP.$(EXT) \
RocksScreen.$(EXT) \
RocksToons.$(EXT) \
+ RocksTouch.$(EXT) \
\
RocksCE.$(EXT) # dynamically generated from template
%.png: %.ilbm
ilbmtoppm $< | pnmtopng > $@
-RocksCE.ilbm: RocksCE-template.ilbm
+RocksCE.png: RocksCE-template.ilbm
+ifneq ("$(wildcard RocksCE-template.ilbm)","")
$(RND) -e "create CE image ."
- bmptoppm RocksCE.bmp | ppmtoilbm > RocksCE.ilbm
+ bmptoppm RocksCE.bmp | pnmtopng > $@
$(RM) RocksCE.bmp
+endif
+
+RocksCE-template.ilbm:
clean:
@for i in $(FILES); do \