shithub: scc

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