X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=koperkapel%2Fimages%2FMakefile;h=1645e4bfb16728e4069bd63f8bfb8e8343399712;hb=483c6331577b7658e3f8d9f6c21faa483edbf02d;hp=d6c28b9c1a3d543248e35a260dda546f5331e521;hpb=58fb4f3b150efc2b27892dd258e4e71ee27fb868;p=koperkapel.git diff --git a/koperkapel/images/Makefile b/koperkapel/images/Makefile index d6c28b9..1645e4b 100644 --- a/koperkapel/images/Makefile +++ b/koperkapel/images/Makefile @@ -8,13 +8,13 @@ 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 -SIMPLE_DIRS=roach_management +SIMPLE_DIRS=roach_management vehicles SIMPLE_SVGS=$(shell find $(patsubst %, $(VPATH)/vector/%, $(SIMPLE_DIRS)) -name "*.svg") SIMPLE_PNGS=$(patsubst $(VPATH)/vector/%.svg, %.png, $(SIMPLE_SVGS)) @@ -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