aboutsummaryrefslogtreecommitdiff
path: root/maps/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-02-28 17:47:41 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-02-28 17:47:41 +0100
commit6a7dbc5473b36c61ebbfca1eb86e8061083a91ab (patch)
tree7c120e135f84be6cfcde706b603c403e342dac7a /maps/Makefile
parent0692ccd33afc4fdd80550e9979b824c1c25e973b (diff)
downloadmuhqs-game-6a7dbc5473b36c61ebbfca1eb86e8061083a91ab.tar.gz
muhqs-game-6a7dbc5473b36c61ebbfca1eb86e8061083a91ab.zip
convert map definition to YAML
We don't use our own map definition syntax which was not documented and fragile. YAML is more common and is easier to parse.
Diffstat (limited to 'maps/Makefile')
-rw-r--r--maps/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/maps/Makefile b/maps/Makefile
index 45254c04..98fac22e 100644
--- a/maps/Makefile
+++ b/maps/Makefile
@@ -2,17 +2,17 @@
.DEFAULT_GOAL = all
-MAPS = $(shell find . -name "*.map")
+MAPS = $(shell find . -name "*.yml")
VERBOSE = @
-PNGS = $(MAPS:.map=.png)
+PNGS = $(MAPS:.yml=.png)
MAKEFILE_LIST = Makefile
all: $(PNGS)
-%.png : %.map $(MAKEFILE_LIST)
+%.png : %.yml $(MAKEFILE_LIST)
@echo "generate map › $@"
$(VERBOSE) python3 ../scripts/generate_map_img.py $<