Add little makefile

Use as `make test day=x`
This commit is contained in:
Tristan Daniël Maat 2023-12-05 03:58:01 +01:00
parent 80cdaf5abd
commit af4491d09c
Signed by: tlater
GPG key ID: 49670FD774E43268

6
Makefile Normal file
View file

@ -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