projects
/
koperkapel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Placeholder grate image
[koperkapel.git]
/
koperkapel
/
images
/
Makefile
diff --git
a/koperkapel/images/Makefile
b/koperkapel/images/Makefile
index 519112fc084552e8622ec6790d397bff9b9181a7..2700e15f49dd17f5251dc4fdac75d8ace1485306 100644
(file)
--- a/
koperkapel/images/Makefile
+++ b/
koperkapel/images/Makefile
@@
-8,7
+8,7
@@
TILE_PNGS=$(patsubst $(VPATH)/vector/%.svg, %.png, $(TILE_SVGS))
# Bitmap tiles
# Bitmap tiles
-BTILE_DIRS=wall floor tunnel underground
+BTILE_DIRS=wall floor tunnel underground
grate
BTILE_SRC=$(shell find $(patsubst %, $(VPATH)/bitmap/%, $(BTILE_DIRS)) -name "*.png")
BTILE_PNGS=$(patsubst $(VPATH)/bitmap/%, bunker/%, $(BTILE_SRC))
BTILE_SRC=$(shell find $(patsubst %, $(VPATH)/bitmap/%, $(BTILE_DIRS)) -name "*.png")
BTILE_PNGS=$(patsubst $(VPATH)/bitmap/%, bunker/%, $(BTILE_SRC))
@@
-27,10
+27,16
@@
ROACH_QUARTET=$(patsubst roach/%, roach_quartet/%, $(ROACH))
ROACH_NONET=$(patsubst roach/%, roach_nonet/%, $(ROACH))
ROACH_BIG=$(patsubst roach/%, roach_big/%, $(ROACH))
ROACH_NONET=$(patsubst roach/%, roach_nonet/%, $(ROACH))
ROACH_BIG=$(patsubst roach/%, roach_big/%, $(ROACH))
+# Aggregate serum sprites
+
+SERUM=$(filter serum/%, $(TILE_PNGS))
+SERUM_BIG=$(patsubst serum/%, serum_big/%, $(SERUM))
+
# Default target with everything
all: $(TILE_PNGS) $(BTILE_PNGS) $(SIMPLE_PNGS)\
# Default target with everything
all: $(TILE_PNGS) $(BTILE_PNGS) $(SIMPLE_PNGS)\
- $(ROACH_32) $(ROACH_21) $(ROACH_QUARTET) $(ROACH_NONET) $(ROACH_BIG)
+ $(ROACH_32) $(ROACH_21) $(ROACH_QUARTET) $(ROACH_NONET) $(ROACH_BIG)\
+ $(SERUM_BIG)
# Vector tile rule
# Vector tile rule
@@
-78,6
+84,12
@@
roach_big/%.png: vector/roach/%.svg
@mkdir -p `dirname $@`
@inkscape -z -e $@ -w 192 -h 192 $<
@mkdir -p `dirname $@`
@inkscape -z -e $@ -w 192 -h 192 $<
+# Big serums
+
+serum_big/%.png: vector/serum/%.svg
+ @mkdir -p `dirname $@`
+ @inkscape -z -e $@ -w 192 -h 192 $<
+
# Roach quartet
roach_quartet/roach_%.png: $(foreach i, 1 2 3 4, roach_32/roach_$(i).png)
# Roach quartet
roach_quartet/roach_%.png: $(foreach i, 1 2 3 4, roach_32/roach_$(i).png)