scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1.POSIX:
 2
 3DIRS =\
 4	ar/execute\
 5	nm/execute\
 6	as/execute\
 7	ld/execute\
 8	size/execute\
 9	strip/execute\
10	libc/execute\
11	cc/execute cc/error\
12	make/execute make/error\
13
14PROJECTDIR = ..
15include $(PROJECTDIR)/scripts/rules.mk
16
17all:
18	@trap 'rm -f $$$$.tmp' EXIT ;\
19	trap 'exit $?' INT HUP TERM;\
20	for i in $(DIRS);\
21	do \
22		cd $$i;\
23		$(MAKE) tests;\
24		cd -;\
25	done | \
26	grep -e PASS -e FAIL -e SKIP |\
27	tee $$$$.tmp &&\
28	grep FAIL $$$$.tmp > /dev/null && exit 1 || exit 0
29
30dep: