From af4491d09c3f42cdea28d5f440111722aec26273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Tue, 5 Dec 2023 03:58:01 +0100 Subject: [PATCH] Add little makefile Use as `make test day=x` --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..25d45cd --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +%.jar: %.kt + kotlinc -include-runtime $< -d $@ + +.PHONY: test +test: day$(day)/day$(day).jar + cd day$(day); java -jar day$(day).jar