scc

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

Makefile (280B)


      1 .POSIX:
      2 
      3 ROOT=../../..
      4 
      5 all:
      6 	@PATH=$(ROOT)/bin:$$PATH ./chktest.sh
      7 
      8 tests:
      9 	@$(MAKE) |\
     10 	grep -v TODO |\
     11 	grep FAIL >/dev/null &&\
     12 	printf '[FAIL]' || printf '[PASS]'; printf '\tmake/execute\n'
     13 
     14 hello:
     15 	@echo Hello World!
     16 
     17 clean:
     18 	rm -f test.log tmp?.* file? file.c file.o core*