shithub: scc

ref: 1db863722e91ee927e932eb6ba65637842e96098
dir: /src/cmd/as/target/powerpc/powerpc.mk/

View raw version
POWERPC = target/powerpc
POWERPC_OBJ =\
	$(OBJS)\
	$(POWERPC)/powerpctbl.o\
	$(POWERPC)/powerpc.o\
	$(POWERPC)/ins.o\

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

$(LIBEXEC)/as-powerpc: $(POWERPC_OBJ)
	$(CC) $(SCC_LDFLAGS) $(POWERPC_OBJ) -lscc -o $@