changed "http" to "https" in URLs
[rocksndiamonds.git] / graphics / gfx_classic / Makefile
index d38d1b001788807c4bfe3f9cf92db7a9dc22d795..2c27a4b2b5ea263629198d8bcfd39b2e542e9adc 100644 (file)
@@ -4,7 +4,7 @@
 # (c) 1995-2015 by Artsoft Entertainment
 #                  Holger Schemel
 #                  info@artsoft.org
-#                  http://www.artsoft.org/
+#                  https://www.artsoft.org/
 # -----------------------------------------------------------------------------
 # graphics/gfx_classic/Makefile
 # =============================================================================
@@ -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                  \