replaced ILBM graphics source files in repository with converted PNG files
[rocksndiamonds.git] / graphics / gfx_classic / Makefile
index d38d1b001788807c4bfe3f9cf92db7a9dc22d795..66e897f85898d442402aab6baacf2b34125d461d 100644 (file)
@@ -57,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                  \