scc

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

Makefile (201B)


      1 .POSIX:
      2 
      3 ROOT=$(PROJECTDIR)/root
      4 
      5 OUT = z80.out
      6 
      7 all: tests
      8 
      9 tests: $(OUT)
     10 	@PATH=$(ROOT)/bin:$$PATH chktest.sh
     11 
     12 z80.out: master.s
     13 	z80-unknown-coff-as -o $@ master.s
     14 
     15 clean:
     16 	rm -f *.a *.out test.log