From 664aa4aab03d73157996e394e17057c7d7bff430 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 23 Apr 2023 20:05:49 +0200 Subject: Move 'Main.java' to 'App.java' Build our earlier code with Maven. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0125451..85923cf 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,10 @@ CLASSPATH := -classpath '.:./lib/*' all: javac $(CLASSPATH) Main.java +.PHONY: compile +compile: + mvn compile + .PHONY: run -run: - java $(CLASSPATH) Main +run: compile + mvn exec:java -Dexec.mainClass='com.teddywing.pdf_form_replace_font2.App' -- cgit v1.2.3