shithub: scc

ref: 7d06d1d348ce9fb9dc585d81f146e12193be85e4
dir: /tests/cc/error/Makefile/

View raw version
.POSIX:

ROOT=../../..
SCCPREFIX=$(ROOT)
CC=$(ROOT)/bin/scc

all:
	@CC=$(CC) ./chktest.sh scc-tests.lst

tests:
	@$(MAKE) |\
	grep -v TODO |\
	grep FAIL >/dev/null &&\
	printf '[FAIL]' || printf '[PASS]'; printf '\tcc/error\n'

clean:
	rm -f *.as *.o *.ir *.qbe *core test.log