summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2021-06-09 11:24:39 +0000
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-06-09 11:24:39 +0000
commit38df110b66e7de48344adfc3913b62f01c848597 (patch)
treeebc8e8170568390df5b86ef6619c2daa4aa057b9
parent69252274369c5ddad5de0c4a1f1e6bd2f7cbeac7 (diff)
Compile from topdir
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..30b7407
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+TOPTARGETS := all clean
+
+SUBDIRS := src tst
+
+$(TOPTARGETS): $(SUBDIRS)
+
+$(SUBDIRS):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+.PHONY: $(TOPTARGETS) $(SUBDIRS)