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