projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed global animation sounds to stop before post delay
[rocksndiamonds.git]
/
graphics
/
gfx_classic
/
Makefile
diff --git
a/graphics/gfx_classic/Makefile
b/graphics/gfx_classic/Makefile
index 7caa356e8200b0dae60e3f4ae792e6a0913c9d2c..041f3c8f3ad56e721edbddf7938ba7d8fbcc36cb 100644
(file)
--- a/
graphics/gfx_classic/Makefile
+++ b/
graphics/gfx_classic/Makefile
@@
-13,17
+13,18
@@
# configuration
# -----------------------------------------------------------------------------
# configuration
# -----------------------------------------------------------------------------
-RND = ../rocksndiamonds
+RND = ../
../
rocksndiamonds
RM = rm -f
RM = rm -f
-EXT = pcx
+# EXT = pcx
+EXT = png
FILES = RocksBusy.$(EXT) \
FILES = RocksBusy.$(EXT) \
- RocksCE.$(EXT) \
RocksDC.$(EXT) \
RocksDC2.$(EXT) \
RocksDoor.$(EXT) \
RocksDC.$(EXT) \
RocksDC2.$(EXT) \
RocksDoor.$(EXT) \
+ RocksDoor2.$(EXT) \
RocksEMC.$(EXT) \
RocksElements.$(EXT) \
RocksFontBig.$(EXT) \
RocksEMC.$(EXT) \
RocksElements.$(EXT) \
RocksFontBig.$(EXT) \
@@
-35,9
+36,9
@@
FILES = RocksBusy.$(EXT) \
RocksMore.$(EXT) \
RocksSP.$(EXT) \
RocksScreen.$(EXT) \
RocksMore.$(EXT) \
RocksSP.$(EXT) \
RocksScreen.$(EXT) \
- RocksToons.$(EXT)
-
-# FILES_GENERATED = RocksCE.$(EXT)
+ RocksToons.$(EXT)
\
+ \
+ RocksCE.$(EXT) # dynamically generated from template
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
@@
-49,12
+50,17
@@
all: $(FILES)
%.pcx: %.ilbm
ilbmtoppm $< | ppmtopcx > $@
%.pcx: %.ilbm
ilbmtoppm $< | ppmtopcx > $@
+%.png: %.ilbm
+ ilbmtoppm $< | pnmtopng > $@
+
RocksCE.ilbm: RocksCE-template.ilbm
RocksCE.ilbm: RocksCE-template.ilbm
- $(RND) -e "create CE image
RocksCE.bmp
"
+ $(RND) -e "create CE image
.
"
bmptoppm RocksCE.bmp | ppmtoilbm > RocksCE.ilbm
$(RM) RocksCE.bmp
bmptoppm RocksCE.bmp | ppmtoilbm > RocksCE.ilbm
$(RM) RocksCE.bmp
-clean
-gfx
:
+clean:
@for i in $(FILES); do \
@for i in $(FILES); do \
+ echo "$(RM) $$i"; \
$(RM) $$i; \
done
$(RM) $$i; \
done
+ $(RM) RocksCE.ilbm