summaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-03-07 14:44:57 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-03-07 14:44:57 -0500
commit317c70674d1d889b98b3b127099ab876f55f1f2d (patch)
treec215359198b4b4e885d670d6346a047d849e5a98 /example/Makefile
parentca915283cb63068f2fb6bb03ec8faf9c97d009d0 (diff)
feat: Subdir template added
A template for calling Makefiles in subdirectories has been added. This allows a top directory makefile to list subdirectories and call rules like all, clean, install, & uninstall.
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile
new file mode 100644
index 0000000..b0e81b3
--- /dev/null
+++ b/example/Makefile
@@ -0,0 +1,9 @@
+#
+# Copyright (c) 2026 Jacob McDonnell
+#
+# SPDX-License-Identifier: BSD-2-Clause
+#
+SUBDIRS = libfib test
+
+include tools/mcd.subdir.mk
+