summaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2021-10-10 19:24:20 -0400
committerJacob McDonnell <jacob@simplelittledream.com>2021-10-10 19:24:20 -0400
commit3d284b88f4682ebaffe3680fdb9d63c6ad4ec7e0 (patch)
treeff5e09cd1262e55d3bfc2af9a55d101f2223fe26 /src/makefile
Initial Commit
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile
new file mode 100644
index 0000000..52ddd59
--- /dev/null
+++ b/src/makefile
@@ -0,0 +1,9 @@
+TOPTARGETS := all clean install
+
+SUBDIRS := $(wildcard */.)
+
+$(TOPTARGETS): $(SUBDIRS)
+$(SUBDIRS):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+.PHONY: $(TOPTARGETS) $(SUBDIRS) \ No newline at end of file