Specify JAVA_HOME instead of JC.

This commit is contained in:
bʰedoh₂ swé 2024-05-27 14:32:16 +05:00
parent 06c8f278e9
commit 8d15c77921
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,9 @@
include env.mk include env.mk
SRC = src 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) -cp $(HEADERS) -Xlint:-options -d build -g:none
SRC_DIR := src SRC_DIR := src

View File

@ -1,4 +1,3 @@
JC = /usr/lib/jvm/java-1.8-openjdk/bin/javac
HEADERS = HEADERS =
EMULATOR = java -jar EMULATOR = java -jar
JAVA_HOME = /usr/lib/jvm/openjdk8