scc

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

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

 1.POSIX:
 2
 3PROJECTDIR = ../../..
 4include $(PROJECTDIR)/scripts/rules.mk
 5
 6CC=$(SCC)
 7
 8all:
 9	@CC='$(CC)' ./runtests.sh scc-tests.lst
10
11tests:
12	@$(MAKE) |\
13	grep -v TODO |\
14	grep FAIL >/dev/null &&\
15	printf '[FAIL]' || printf '[PASS]'; printf '\tcc/error\n'
16
17clean:
18	rm -f *.as *.o *.ir *.qbe *core test.log