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