Add placeholder underground images. Start work on proper tunnel image loading
[koperkapel.git] / koperkapel / images / Makefile
index d55f9119cb69a372cafbe7bae72c7037884383cd..d5aa40507df3b5e4ef0cda5163c951d714e63a6e 100644 (file)
@@ -8,7 +8,7 @@ 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))
 
@@ -55,8 +55,8 @@ $(foreach simpledir,$(SIMPLE_DIRS),$(eval $(call simple,$(simpledir))))
 
 define btile
 $(1)/%.png: bitmap/$(1)/%.png
-       @mkdir -p `dirname $$@`
-       @convert $$< -resize 64x64 $$@
+       @mkdir -p `dirname bunker/$$@`
+       @convert $$< -resize 64x64 bunker/$$@
 endef
 
 $(foreach tiledir,$(BTILE_DIRS),$(eval $(call btile,$(tiledir))))