any_features: any_project.epr
	es4 -project any_project.epr -flatshort -filter build any > build.out 2>&1
	grep -A1 '#feature#' build.out | grep -v '#feature#' | grep -v '^--' |\
	    sed 's/frozen//' | awk '{print$$1}' | awk -F: '{print$$1}' | sort \
	    > any_features
	rm -f build.out

any_project.epr: Ace.ace
	es4 

clean:
	rm -rf EIFGEN any_project.epr

clobber: clean
	rm -rf any_features
