shithub: scc

ref: 1dc74da8fc35b5c6ad9ccebf452014dfe760b869
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 $@