added graphics files to repository (2013 release version)
[rocksndiamonds.git] / graphics / gfx_classic / Makefile
1 # =============================================================================
2 # Rocks'n'Diamonds - McDuffin Strikes Back!
3 # -----------------------------------------------------------------------------
4 # (c) 1995-2015 by Artsoft Entertainment
5 #                  Holger Schemel
6 #                  info@artsoft.org
7 #                  http://www.artsoft.org/
8 # -----------------------------------------------------------------------------
9 # graphics/gfx_classic/Makefile
10 # =============================================================================
11
12 # -----------------------------------------------------------------------------
13 # configuration
14 # -----------------------------------------------------------------------------
15
16 RND = ../rocksndiamonds
17
18 RM = rm -f
19
20 EXT = pcx
21
22 FILES = RocksBusy.$(EXT)        \
23         RocksCE.$(EXT)          \
24         RocksDC.$(EXT)          \
25         RocksDC2.$(EXT)         \
26         RocksDoor.$(EXT)        \
27         RocksEMC.$(EXT)         \
28         RocksElements.$(EXT)    \
29         RocksFontBig.$(EXT)     \
30         RocksFontDC.$(EXT)      \
31         RocksFontEM.$(EXT)      \
32         RocksFontMedium.$(EXT)  \
33         RocksFontSmall.$(EXT)   \
34         RocksHeroes.$(EXT)      \
35         RocksMore.$(EXT)        \
36         RocksSP.$(EXT)          \
37         RocksScreen.$(EXT)      \
38         RocksToons.$(EXT)
39
40 # FILES_GENERATED = RocksCE.$(EXT)
41
42
43 # -----------------------------------------------------------------------------
44 # build targets
45 # -----------------------------------------------------------------------------
46
47 all: $(FILES)
48
49 %.pcx: %.ilbm
50         ilbmtoppm $< | ppmtopcx > $@
51
52 RocksCE.ilbm: RocksCE-template.ilbm
53         $(RND) -e "create CE image RocksCE.bmp"
54         bmptoppm RocksCE.bmp | ppmtoilbm > RocksCE.ilbm
55         $(RM) RocksCE.bmp
56
57 clean-gfx:
58         @for i in $(FILES); do                  \
59                 $(RM) $$i;                      \
60         done