shithub: scc

ref: a115b80c0660473027f0a4ae009b7534e8d5f8d8
dir: /cc2/target/qbe_amd64-sysv/target.mk/

View raw version

$(LIBEXEC)/cc2-qbe_amd64-sysv: cc2-qbe_amd64-sysv
	cp cc2-qbe_amd64-sysv $@

target/qbe/cgen.o: $(INCDIR)/$(STD)/cstd.h

OBJ-qbe_amd64-sysv = $(OBJ)  \
        target/qbe/cgen.o \
        target/qbe/optm.o \
        target/qbe/code.o \
        target/amd64-sysv/types.o

cc2-qbe_amd64-sysv: $(OBJ-qbe_amd64-sysv) $(LIBSCC)/libscc.a
	$(CC) $(SCC_LDFLAGS) $(OBJ-qbe_amd64-sysv) -lscc -o $@