aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-10-19 15:57:32 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-10-19 15:57:32 +0200
commitacbfd21fab2f548cce5fa126a05cdeacb108f906 (patch)
treef566a01eb7edef4ea9b5e58345d1409770b10aa3 /rules
parent0cb227c0455922d832a8fe64ed97f59e28543180 (diff)
downloadmuhqs-game-acbfd21fab2f548cce5fa126a05cdeacb108f906.tar.gz
muhqs-game-acbfd21fab2f548cce5fa126a05cdeacb108f906.zip
add top level Makefile and clean target to rules/Makefile
Diffstat (limited to 'rules')
-rw-r--r--rules/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/rules/Makefile b/rules/Makefile
index da130831..f5fa401e 100644
--- a/rules/Makefile
+++ b/rules/Makefile
@@ -1,6 +1,11 @@
-.PHONY: all
+.PHONY: all clean
-all: rules.html maps.html
+HTML = rules.html maps.html
+
+all: $(HTML)
%.html: %.md Makefile
pandoc --toc $*.md -s -o $@
+
+clean:
+ rm $(HTML)