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 <zab@versity.com>
This commit is contained in:
Zach Brown
2020-12-07 10:38:53 -08:00
parent bc09012836
commit e648063baa

17
Makefile Normal file
View File

@@ -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: