# 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))
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))))