From 2643bb724aa3a9f80cbaea075f636217d3f4cbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Mon, 27 May 2024 20:01:56 +0500 Subject: [PATCH] Remove unnecessary variable and fix run target. --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8536e1c..00eca29 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,8 @@ include env.mk -SRC = src - JC = $(JAVA_HOME)/bin/javac -JCFLAGS = -target 1.1 -source 1.2 -sourcepath $(SRC) -cp $(HEADERS) -Xlint:-options -d build -g:none +JCFLAGS = -target 1.1 -source 1.2 -sourcepath $(SRC_DIR) -cp $(HEADERS) -Xlint:-options -d build -g:none SRC_DIR := src @@ -33,5 +31,5 @@ clean: pack result.jar: $(CLS) $(JAVA_HOME)/bin/jar -cmf META-INF/MANIFEST.MF result.jar -C build . -C res . -run: release +run: pack $(EMULATOR) result.jar