# $NetBSD: Makefile.prog,v 1.2 2021/09/18 01:47:08 christos Exp $ # common fragment for any thing linking with C++ .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_PROG_ _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_PROG_=1 HOSTPROG_CXX= 1 .include <bsd.prog.mk> # Force using C++ for this HOST_CC:= ${HOST_CXX} HOST_CFLAGS:= ${HOST_CXXFLAGS} CC:= ${CXX} CFLAGS:= ${CXXFLAGS} # Don't auto-frob .y or .l files. .l.c .y.c .y.h: @true .endif |