projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced ILBM graphics source files in repository with converted PNG files
[rocksndiamonds.git]
/
graphics
/
gfx_classic
/
Makefile
diff --git
a/graphics/gfx_classic/Makefile
b/graphics/gfx_classic/Makefile
index d38d1b001788807c4bfe3f9cf92db7a9dc22d795..66e897f85898d442402aab6baacf2b34125d461d 100644
(file)
--- a/
graphics/gfx_classic/Makefile
+++ b/
graphics/gfx_classic/Makefile
@@
-57,10
+57,14
@@
all: $(FILES)
%.png: %.ilbm
ilbmtoppm $< | pnmtopng > $@
%.png: %.ilbm
ilbmtoppm $< | pnmtopng > $@
-RocksCE.ilbm: RocksCE-template.ilbm
+RocksCE.png: RocksCE-template.ilbm
+ifneq ("$(wildcard RocksCE-template.ilbm)","")
$(RND) -e "create CE image ."
$(RND) -e "create CE image ."
- bmptoppm RocksCE.bmp | p
pmtoilbm > RocksCE.ilbm
+ bmptoppm RocksCE.bmp | p
nmtopng > $@
$(RM) RocksCE.bmp
$(RM) RocksCE.bmp
+endif
+
+RocksCE-template.ilbm:
clean:
@for i in $(FILES); do \
clean:
@for i in $(FILES); do \