shithub: scc

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