replaced ILBM graphics source files in repository with converted PNG files
[rocksndiamonds.git] / graphics / gfx_classic / Makefile
index 558a63cdb2c0a558ef34fcb6dd148e3cb61f5230..66e897f85898d442402aab6baacf2b34125d461d 100644 (file)
@@ -40,6 +40,7 @@ FILES = RocksBusy.$(EXT)              \
        RocksSP.$(EXT)                  \
        RocksScreen.$(EXT)              \
        RocksToons.$(EXT)               \
+       RocksTouch.$(EXT)               \
                                        \
        RocksCE.$(EXT)                  # dynamically generated from template
 
@@ -56,10 +57,14 @@ all: $(FILES)
 %.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                  \