summaryrefslogtreecommitdiffstats
path: root/make/Templates/Makefile.leaf
diff options
context:
space:
mode:
Diffstat (limited to '')
-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