diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-03-23 11:50:01 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-03-23 11:50:01 +0100 |
| commit | e7289f25089d68a070e00d522042e8aab79c62f6 (patch) | |
| tree | 4af52b4dcf6f06a23a190c3ec6ae6f102ba990cb /Makefile | |
| download | snake-e7289f25089d68a070e00d522042e8aab79c62f6.tar.gz snake-e7289f25089d68a070e00d522042e8aab79c62f6.zip | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d36209d --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +JAVA_SRC = $(wildcard *.java) +JAVA_OBJ = $(JAVA_SRC:.java=.class) + +%.class: %.java + javac $< + +.PHONY: snake +snake: $(JAVA_OBJ) + java Snake + +.PHONY: clean +clean: + rm -f *.class + |
