2 .include "../Makefile.inc"
3 .include "../../Makefile.langs"
4 .include "../../../Makefile.cco"
7 LINKS= ${BINDIR}/c++ ${BINDIR}/g++
8 LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
9 MAN= # man pages installed by cc (MLINK)
11 SRCS= ${GCC_SRCS} g++spec.c ${EXTRA_GCC_SRCS}
13 CFLAGS+= -DCONFIGURE_SPECS="\"\"" \
14 -DACCEL_DIR_SUFFIX="\"\"" \
15 -DDEFAULT_REAL_TARGET_MACHINE="\"${target_machine}\""
17 # hack to force c++ compiler to compile *.c files to create program
19 ${cfile:.c=.o}: ${cfile}
20 ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
23 .include <bsd.prog.mk>