shithub: scc

ref: 0abc10c55a5366e6fdad4c775e5f18b39c14eec6
dir: /src/cmd/as/target/x80/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/ops.dat target/x80/opers.dat
	./mktbl -f x80 -c z80

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