X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=graphics%2Fgfx_classic%2FMakefile;fp=graphics%2Fgfx_classic%2FMakefile;h=66e897f85898d442402aab6baacf2b34125d461d;hp=d38d1b001788807c4bfe3f9cf92db7a9dc22d795;hb=aacfcf1bc15d94c7c4834658cb2ebafc949aa15d;hpb=1a22e8bdd70708d1ee0bb3f21a456eca4e3de50a diff --git a/graphics/gfx_classic/Makefile b/graphics/gfx_classic/Makefile index d38d1b00..66e897f8 100644 --- a/graphics/gfx_classic/Makefile +++ b/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 \