summaryrefslogtreecommitdiffstats
path: root/tmake/example/wc.t
diff options
context:
space:
mode:
Diffstat (limited to 'tmake/example/wc.t')
-rw-r--r--tmake/example/wc.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmake/example/wc.t b/tmake/example/wc.t
new file mode 100644
index 0000000..dc041b5
--- /dev/null
+++ b/tmake/example/wc.t
@@ -0,0 +1,6 @@
+#! Template that count number of C++ lines
+The number of C++ code lines for #$ $text=$project_name;
+#${
+ $files = $project{"HEADERS"} . " " . $project{"SOURCES"};
+ $text = `wc -l $files`;
+#$}