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 (452B)
---
1 .POSIX:
2
3 DIRS =\
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
14 PROJECTDIR = ..
15 include $(PROJECTDIR)/scripts/rules.mk
16
17 all:
18 @trap 'rm -f $$$$.tmp' EXIT INT HUP TERM;\
19 for i in $(DIRS);\
20 do \
21 cd $$i;\
22 $(MAKE) tests;\
23 cd -;\
24 done | \
25 grep -e PASS -e FAIL -e SKIP |\
26 tee $$$$.tmp &&\
27 grep FAIL $$$$.tmp > /dev/null && exit 1 || exit 0
28
29 dep: