scc

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

z80.mk (275B)


      1 Z80_OBJ =\
      2 	$(OBJS)\
      3 	target/x80/z80tbl.o\
      4 	target/x80/z80.o\
      5 	target/x80/ins.o\
      6 
      7 target/x80/z80tbl.c: target/x80/ops.dat target/x80/opers.dat lexh
      8 	./mktbl -f x80 -c z80
      9 
     10 as-z80: $(OBJ) $(Z80_OBJ)
     11 	$(CC) $(PROJ_LDFLAGS) $(Z80_OBJ) $(PROJ_LDLIBS) -o $@
     12 	cp $@ $(LIBEXEC)/scc