shithub: scc

ref: ac7e083f2c70bde5e5361c8cf2fcf116ddc1b5f1
dir: /as/target/z80.mk/

View raw version

$(LIBEXEC)/as-z80: as-z80
	cp as-z80 $@

Z80_OBJ = $(OBJ) target/x80/z80tbl.o target/x80/z80.o target/x80/ins.o

target/x80/z80tbl.c: gentbl.awk target/x80/x80.dat target/x80/rules.dat
	./gentbl.sh -f x80 -c z80

as-z80: $(OBJ) $(Z80_OBJ) $(LIBSCC)/libscc.a
	$(CC) $(SCC_LDFLAGS) $(Z80_OBJ) -lscc -o $@