Mercurial > hg > may
view Makefile @ 113:935c6ca5d370
Add yetilab jar itself to the yc classpath (except when compiling it)
author | Chris Cannam |
---|---|
date | Wed, 17 Apr 2013 21:24:57 +0100 |
parents | f73923903ba4 |
children | e74f1fb9bc0e |
line wrap: on
line source
TEST_SOURCES := $(wildcard yetilab/test/*.yeti yetilab/*/test/*.yeti yetilab/*/*/test/*.yeti) SOURCES := $(filter-out $(TESTS), $(wildcard yetilab/*.yeti yetilab/*/*.yeti yetilab/*/*/*.yeti)) test/.run: yetilab.jar $(TEST_SOURCES) ./bin/yc yetilab/test/all.yeti | tee $@.out @grep -qv passed $@.out || touch $@ yetilab.jar: $(SOURCES) ./bin/yc --no-yetilab-jar -d classes -doc doc $^ jar cf $@ -C classes yetilab clean: rm -rf com test/.run distclean: clean rm -f yetilab.jar