Newer
Older
SUBDIRS=compiler lib test examples
export LABCOMM_JAR=$(shell pwd)/compiler/labComm.jar
export LABCOMM=java -jar $(LABCOMM_JAR)
cd compiler ; ant jar
.PHONY: test
test: $(SUBDIRS:%=test-%)
.PHONY: test-compiler
test-compiler:
.PHONY: test-%
test-%:
$(MAKE) -C $* -e test
.PHONY: clean
clean: $(SUBDIRS:%=clean-%)
.PHONY: clean-compiler
clean-compiler:
cd compiler ; ant clean
.PHONY: clean-%
clean-%:
$(MAKE) -C $* -e clean