Add more structured level 1 as basis for tutorial
[koperkapel.git] / koperkapel / images / Makefile
index d55f9119cb69a372cafbe7bae72c7037884383cd..1645e4bfb16728e4069bd63f8bfb8e8343399712 100644 (file)
@@ -8,9 +8,9 @@ TILE_PNGS=$(patsubst $(VPATH)/vector/%.svg, %.png, $(TILE_SVGS))
 
 # Bitmap tiles
 
-BTILE_DIRS=wall floor
+BTILE_DIRS=wall floor tunnel underground
 BTILE_SRC=$(shell find $(patsubst %, $(VPATH)/bitmap/%, $(BTILE_DIRS)) -name "*.png")
-BTILE_PNGS=$(patsubst $(VPATH)/bitmap/%, %, $(BTILE_SRC))
+BTILE_PNGS=$(patsubst $(VPATH)/bitmap/%, bunker/%, $(BTILE_SRC))
 
 # Vector images to rasterize without resizing
 
@@ -54,7 +54,7 @@ $(foreach simpledir,$(SIMPLE_DIRS),$(eval $(call simple,$(simpledir))))
 # Bitmap tile rule
 
 define btile
-$(1)/%.png: bitmap/$(1)/%.png
+bunker/$(1)/%.png: bitmap/$(1)/%.png
        @mkdir -p `dirname $$@`
        @convert $$< -resize 64x64 $$@
 endef