shithub: scc

ref: c4e18492e995b3eeefe33495b7e7822a700c18d8
dir: /as/target/i386.mk/

View raw version

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

I386_OBJ = $(OBJ) target/x86/i386tbl.o target/x86/i386.o target/x86/ins.o

target/x86/i386tbl.c: gentbl.awk target/x86/x86.dat target/x86/rules.dat
	./gentbl.sh -f x86 -c i386

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