X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=graphics%2Fgfx_classic%2FMakefile;h=2c27a4b2b5ea263629198d8bcfd39b2e542e9adc;hb=HEAD;hp=d38d1b001788807c4bfe3f9cf92db7a9dc22d795;hpb=65bfe5289ae5bcb4c1ea9bee97ebc619e1ecfc16;p=rocksndiamonds.git diff --git a/graphics/gfx_classic/Makefile b/graphics/gfx_classic/Makefile index d38d1b00..2c27a4b2 100644 --- a/graphics/gfx_classic/Makefile +++ b/graphics/gfx_classic/Makefile @@ -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 \