shithub: scc

ref: 5c0bbb5ff6603cf20c4e3f4ec16dd7b60799cb85
dir: /src/cmd/as/target/powerpc/powerpc64.mk/

View raw version
POWERPC = target/powerpc
POWERPC64_OBJ =\
	$(OBJS)\
	$(POWERPC)/powerpc64tbl.o\
	$(POWERPC)/powerpc64.o\
	$(POWERPC)/ins.o\

$(POWERPC)/powerpc64tbl.c: $(POWERPC)/ops.dat $(POWERPC)/opers.dat
	./mktbl -f powerpc -c powerpc64

$(LIBEXEC)/scc/as-powerpc64: $(POWERPC64_OBJ)
	$(CC) $(PROJ_LDFLAGS) $(POWERPC64_OBJ) -lscc -o $@