shithub: scc

ref: 3e2b9fc5817172876d54d82e4ddc7df78b051212
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 $@