summaryrefslogtreecommitdiffstats
path: root/make/compilers
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-07 16:31:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-07 16:31:08 +0000
commit070013600597ad650de3dc939b5a2f68a6e65b6a (patch)
tree0919707f206dcda762acd7e48785a0d4e417dabd /make/compilers
parentacb644a66f4f1f5a2376d560bde664916ff1a2ee (diff)
downloadrtems-070013600597ad650de3dc939b5a2f68a6e65b6a.tar.bz2
Added rules to handle alternate suffixes for C++ files.
Diffstat (limited to 'make/compilers')
-rw-r--r--make/compilers/gcc-target-default.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg
index b29a96e325..49f1326f78 100644
--- a/make/compilers/gcc-target-default.cfg
+++ b/make/compilers/gcc-target-default.cfg
@@ -193,6 +193,15 @@ ${ARCH}/%.o: %.c
${ARCH}/%.o: %.cc
${COMPILE.cc} -o $@ $<
+${ARCH}/%.o: %.cpp
+ ${COMPILE.cc} -o $@ $<
+
+${ARCH}/%.o: %.cxx
+ ${COMPILE.cc} -o $@ $<
+
+${ARCH}/%.o: %.C
+ ${COMPILE.cc} -o $@ $<
+
${ARCH}/%.o: %.S
${COMPILE.S} -DASM -o $@ $<