From 01b49f4b85cd5a84c48f9da0ebd4fcda20f2e97e Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 25 Mar 2024 13:12:49 +0100 Subject: add make target to download the GraphicsAndGames files --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d36209d..d9b1d3c 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,14 @@ JAVA_OBJ = $(JAVA_SRC:.java=.class) javac $< .PHONY: snake -snake: $(JAVA_OBJ) +snake: Zeichenfenster.java $(JAVA_OBJ) java Snake +Zeichenfenster.java: + curl -O "https://informatikschulbuch.de/wp-content/daten/Informatik3/Vorlagen/Kapitel4/BlueJ_Java/GraphicsAndGames_BlueJ_Java.zip" + unzip GraphicsAndGames_BlueJ_Java.zip + mv GraphicsAndGames_BlueJ_Java/*.java . + .PHONY: clean clean: rm -f *.class -- cgit v1.2.3