shithub: scc

ref: 313e86a65b33fb0c9f4c05789e2e93de19fb61bc
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)/scc/as-powerpc: $(POWERPC_OBJ)
	$(CC) $(PROJ_LDFLAGS) $(POWERPC_OBJ) -lscc -o $@