scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

Makefile (310B)


      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/execute\n'
     15 
     16 clean:
     17 	rm -f a.out *.s *.s *.as *.o *.ir *.qbe *core* test.log tests.h tmp_*.c