annotate Makefile @ 352:f8899b51a5e7

Heap size etc
author Chris Cannam
date Mon, 24 Jun 2013 21:35:10 +0100
parents 0a856c4d5338
children 4b104ef8d110
rev   line source
Chris@338 1 ALL_SOURCES := $(wildcard may/*.yeti may/*/*.yeti may/*/*/*.yeti)
Chris@338 2 TEST_SOURCES := $(wildcard may/test/*.yeti may/*/test/*.yeti may/*/*/test/*.yeti)
Chris@255 3 SOURCES := $(filter-out $(TEST_SOURCES), $(ALL_SOURCES))
Chris@112 4
Chris@338 5 bin/.testrun: may.jar $(TEST_SOURCES)
Chris@338 6 ./bin/yc may/test/all.yeti | tee $@.out
Chris@112 7 @grep -qv passed $@.out || touch $@
Chris@112 8
Chris@338 9 may.jar: $(SOURCES)
Chris@338 10 ./bin/yc --no-may-jar -d classes -doc doc $^
Chris@338 11 jar cf $@ -C classes may
Chris@112 12
Chris@112 13 clean:
Chris@212 14 rm -rf com bin/.testrun classes
Chris@112 15
Chris@112 16 distclean: clean
Chris@338 17 rm -f may.jar