From e648063baafc64a1cad96ecea5d3e1d31b4eefc5 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 7 Dec 2020 10:38:53 -0800 Subject: [PATCH] Add simple top-level Makefile Add a trivial top-level Makefile that just runs Make in all the subdirs. This will probably expand over time. Signed-off-by: Zach Brown --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..7bb70a14 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +# +# Typically development is done in each subdir, but we have a tiny +# makefile here to make it easy to run simple targets across all the +# subdirs. +# + +SUBDIRS := kmod utils tests +NOTTESTS := kmod utils + +all clean: $(SUBDIRS) FORCE +dist: $(NOTTESTS) FORCE + +$(SUBDIRS): FORCE + $(MAKE) -C $@ $(MAKECMDGOALS) + +all: +FORCE: