X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=graphics%2Fgfx_classic%2FMakefile;h=2c27a4b2b5ea263629198d8bcfd39b2e542e9adc;hp=f81b7f4f6fc8228d41f608b24ba612ef62845534;hb=b641818c787e48bbf03ce2a0cd5b542c4c21e523;hpb=dd923608f42e41f8d77c5190e5ab613bbc7b6d21 diff --git a/graphics/gfx_classic/Makefile b/graphics/gfx_classic/Makefile index f81b7f4f..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 # ============================================================================= @@ -20,24 +20,29 @@ RM = rm -f # EXT = pcx EXT = png -FILES = RocksBusy.$(EXT) \ - RocksDC.$(EXT) \ - RocksDC2.$(EXT) \ - RocksDoor.$(EXT) \ - RocksEMC.$(EXT) \ - RocksElements.$(EXT) \ - RocksFontBig.$(EXT) \ - RocksFontDC.$(EXT) \ - RocksFontEM.$(EXT) \ - RocksFontMedium.$(EXT) \ - RocksFontSmall.$(EXT) \ - RocksHeroes.$(EXT) \ - RocksMore.$(EXT) \ - RocksSP.$(EXT) \ - RocksScreen.$(EXT) \ - RocksToons.$(EXT) \ - \ - RocksCE.$(EXT) # dynamically generated from template +FILES = RocksBusy.$(EXT) \ + RocksDC.$(EXT) \ + RocksDC2.$(EXT) \ + RocksDF.$(EXT) \ + RocksDoor.$(EXT) \ + RocksDoor2.$(EXT) \ + RocksDoorMM.$(EXT) \ + RocksEMC.$(EXT) \ + RocksElements.$(EXT) \ + RocksFontBig.$(EXT) \ + RocksFontDC.$(EXT) \ + RocksFontEM.$(EXT) \ + RocksFontMedium.$(EXT) \ + RocksFontSmall.$(EXT) \ + RocksHeroes.$(EXT) \ + RocksMM.$(EXT) \ + RocksMore.$(EXT) \ + RocksSP.$(EXT) \ + RocksScreen.$(EXT) \ + RocksToons.$(EXT) \ + RocksTouch.$(EXT) \ + \ + RocksCE.$(EXT) # dynamically generated from template # ----------------------------------------------------------------------------- @@ -52,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 \