Remove unnecessary variable and fix run target.

This commit is contained in:
bʰedoh₂ swé 2024-05-27 20:01:56 +05:00
parent 520c98ddae
commit 2643bb724a

View File

@ -1,10 +1,8 @@
include env.mk include env.mk
SRC = src
JC = $(JAVA_HOME)/bin/javac 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 SRC_DIR := src
@ -33,5 +31,5 @@ clean:
pack result.jar: $(CLS) pack result.jar: $(CLS)
$(JAVA_HOME)/bin/jar -cmf META-INF/MANIFEST.MF result.jar -C build . -C res . $(JAVA_HOME)/bin/jar -cmf META-INF/MANIFEST.MF result.jar -C build . -C res .
run: release run: pack
$(EMULATOR) result.jar $(EMULATOR) result.jar