# (c) 1995-2015 by Artsoft Entertainment
# Holger Schemel
# info@artsoft.org
-# http://www.artsoft.org/
+# https://www.artsoft.org/
# -----------------------------------------------------------------------------
# graphics/gfx_classic/Makefile
# =============================================================================
FILES = RocksBusy.$(EXT) \
RocksDC.$(EXT) \
RocksDC2.$(EXT) \
+ RocksDF.$(EXT) \
RocksDoor.$(EXT) \
RocksDoor2.$(EXT) \
+ RocksDoorMM.$(EXT) \
RocksEMC.$(EXT) \
RocksElements.$(EXT) \
RocksFontBig.$(EXT) \
RocksFontMedium.$(EXT) \
RocksFontSmall.$(EXT) \
RocksHeroes.$(EXT) \
+ RocksMM.$(EXT) \
RocksMore.$(EXT) \
RocksSP.$(EXT) \
RocksScreen.$(EXT) \
RocksToons.$(EXT) \
- overlay/VirtualButtons.$(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 \