From 00a72c289c277c9843cfaa6d6041f5844bfa57b4 Mon Sep 17 00:00:00 2001 From: Ninja-Jambon Date: Wed, 28 Feb 2024 10:23:21 +0100 Subject: [PATCH] added a makefile file --- .gitignore | 3 ++- Universe.java | 2 +- makefile | 7 +++++++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 makefile diff --git a/.gitignore b/.gitignore index 5241a72..cb290e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -*.class \ No newline at end of file +*.class +*.jar \ No newline at end of file diff --git a/Universe.java b/Universe.java index 20df099..d61439f 100644 --- a/Universe.java +++ b/Universe.java @@ -42,7 +42,7 @@ public class Universe { } public boolean isSolved() { - + return true; } public void print() { diff --git a/makefile b/makefile new file mode 100644 index 0000000..5d398ae --- /dev/null +++ b/makefile @@ -0,0 +1,7 @@ +build: + javac --source 1.8 --target 1.8 AppLaser.java + jar cfe AppLaser.jar AppLaser *.class + +run: + javac --source 1.8 --target 1.8 AppLaser.java + java AppLaser