shithub: scc

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

View raw version

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

AMD64_OBJ = $(OBJ) target/x86/amd64tbl.o target/x86/amd64.o target/x86/ins.o

target/x86/amd64tbl.c: gentbl.awk target/x86/x86.dat target/x86/rules.dat
	./gentbl.sh -f x86 -c amd64

as-amd64: $(AMD64_OBJ) $(LIBSCC)/libscc.a
	$(CC) $(SCC_LDFLAGS) $(AMD64_OBJ) -lscc -o $@