shithub: scc

ref: 3c75d277b5d0bdbaff7de7d7c3a9c07a6638b75e
dir: /src/cmd/as/target/z80.mk/

View raw version
Z80_OBJ = $(OBJS) \
          target/x80/z80tbl.o \
          target/x80/z80.o \
          target/x80/ins.o \

target/x80/z80tbl.c: target/x80/x80.dat target/x80/rules.dat
	./mktbl -f x80 -c z80

$(LIBEXEC)/as-z80: $(OBJ) $(Z80_OBJ)
	$(CC) $(SCC_LDFLAGS) $(Z80_OBJ) -lscc -o $@