Makefile - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
Makefile (277B)
---
1 .POSIX:
2
3 ROOT=../../..
4 SCCPREFIX=$(ROOT)
5 CC=$(ROOT)/bin/scc
6
7 all:
8 @CC=$(CC) ./chktest.sh scc-tests.lst
9
10 tests:
11 @$(MAKE) |\
12 grep -v TODO |\
13 grep FAIL >/dev/null &&\
14 printf '[FAIL]' || printf '[PASS]'; printf '\tcc/error\n'
15
16 clean:
17 rm -f *.as *.o *.ir *.qbe *core test.log