summaryrefslogtreecommitdiffstats
path: root/make/compilers
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-09 14:21:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-09 14:21:21 +0000
commit94560873682b6c1854c2070495a92e1d247f63df (patch)
treee6b61e8cc8e83d3dfd4a00f34bdb97da7979c707 /make/compilers
parentcec1095101cccb644ea2a14d2fdb2ef1a7b0a2ab (diff)
downloadrtems-94560873682b6c1854c2070495a92e1d247f63df.tar.bz2
Added rule for .cxx and .cpp per suggestion from Geoffroy Montel
<g_montel@yahoo.com>.
Diffstat (limited to 'make/compilers')
-rw-r--r--make/compilers/gcc-target-default.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index 20dc531661..d75c1e4230 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -193,6 +193,12 @@ ${ARCH}/%.o: %.c
${ARCH}/%.o: %.cc
${COMPILE.cc} -o $@ $<
+${ARCH}/%.o: %.cpp
+ ${COMPILE.cc} -o $@ $<
+
+${ARCH}/%.o: %.cxx
+ ${COMPILE.cc} -o $@ $<
+
${ARCH}/%.o: %.S
${COMPILE.c} -DASM -o $@ $<