summaryrefslogtreecommitdiffstats
path: root/make/Templates
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-21 15:43:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-06-21 15:43:26 +0000
commit2b2cfb755f02a848f16f1221c69521f3a5e0f7a3 (patch)
tree11ee9392a2d7bcf35c97ebe675fbda874ebe1813 /make/Templates
parent2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-2b2cfb755f02a848f16f1221c69521f3a5e0f7a3.tar.bz2
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* Templates/Makefile.leaf: At suggestion of Robert Grimes add commented out make-cxx-exe usage example.
Diffstat (limited to 'make/Templates')
-rw-r--r--make/Templates/Makefile.leaf6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/Templates/Makefile.leaf b/make/Templates/Makefile.leaf
index 6447c51380..974a32a0e2 100644
--- a/make/Templates/Makefile.leaf
+++ b/make/Templates/Makefile.leaf
@@ -71,9 +71,15 @@ CLOBBER_ADDITIONS +=
all: ${ARCH} $(SRCS) $(PGMS)
+# The following links using C rules.
${ARCH}/xxx-your-program-here: ${OBJS} ${LINK_FILES}
$(make-exe)
+# The following links using C++ rules to get the C++ libraries.
+# Be sure you BSP has a make-cxx-exe rule if you use this.
+# ${ARCH}/xxx-your-program-here: ${OBJS} ${LINK_FILES}
+# $(make-cxx-exe)
+
# Install the program(s), appending _g or _p as appropriate.
# for include files, just use $(INSTALL_CHANGE)
install: all