scc

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

Makefile (358B)


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