shithub: scc

ref: cac66e2141e706818050206cb6d20f246209cf1a
dir: /cc2/target/amd64-sysv/target.mk/

View raw version

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

target/amd64-sysv/code.o: $(INCDIR)/$(STD)/cstd.h

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

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