shithub: scc

ref: 560a156341e5bb352194a85c3258406a079697b7
dir: /tests/cc/execute/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/execute\n'

clean:
	rm -f a.out *.s *.s *.as *.o *.ir *.qbe *core* test.log tests.h tmp_*.c