More gcc80 adjustments.
[dragonfly.git] / gnu / usr.bin / cc80 / drivers / c++ / Makefile
blobae922b919896fd3e150c16c9f3f36b92f6f394c0
1 GCC_LANG_DIR= gcc/cp
2 .include "../Makefile.inc"
3 .include "../../Makefile.langs"
4 .include "../../../Makefile.cco"
6 PROG_CXX= c++
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
18 .for cfile in ${SRCS}
19 ${cfile:.c=.o}: ${cfile}
20 ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET}
21 .endfor
23 .include <bsd.prog.mk>