diff options
Diffstat (limited to 'maps')
| -rw-r--r-- | maps/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/maps/Makefile b/maps/Makefile new file mode 100644 index 00000000..45254c04 --- /dev/null +++ b/maps/Makefile @@ -0,0 +1,20 @@ +.PHONY: all clean + +.DEFAULT_GOAL = all + +MAPS = $(shell find . -name "*.map") + +VERBOSE = @ + +PNGS = $(MAPS:.map=.png) + +MAKEFILE_LIST = Makefile + +all: $(PNGS) + +%.png : %.map $(MAKEFILE_LIST) + @echo "generate map › $@" + $(VERBOSE) python3 ../scripts/generate_map_img.py $< + +clean: + rm -f $(PNGS) |
