summaryrefslogtreecommitdiffstats
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
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 '')
-rw-r--r--make/ChangeLog5
-rw-r--r--make/Templates/Makefile.leaf6
2 files changed, 11 insertions, 0 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index c743c2512e..bbaee45046 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2007-06-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/gen5200.cfg: Remove junk comment.
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