git @ Cat's Eye Technologies Etcha / master Makefile
master

Tree @master (Download .tar.gz)

Makefile @masterraw · history · blame

# SPDX-FileCopyrightText: In 2012, Chris Pressey, the original author of this work, placed it into the public domain.
# For more information, please refer to <https://unlicense.org/>
# SPDX-License-Identifier: Unlicense

JAVAC?=javac
JAVA?=java

all:
	@echo "Java classes are not built by default.  Run 'make java' to build them."

java: bin/tc/catseye/etcha/Main.class

bin:
	mkdir -p bin

bin/tc/catseye/etcha/Main.class: bin src/Etcha.java
	$(JAVAC) -cp bin -d bin src/Etcha.java

clean:
	rm -f bin/tc/catseye/etcha/*.class

test: bin/tc/catseye/etcha/Executor.class
	$(JAVA) -cp bin tc.catseye.etcha.Main eg/test.etcha