From cb1f6dea42ff39266cdaf4a6f1c337f149090d41 Mon Sep 17 00:00:00 2001 From: Alessandro Rubini <rubini@gnudd.com> Date: Wed, 10 Oct 2012 15:55:38 +0200 Subject: [PATCH] sdbfs: added toplevel Makefile; */Makefile: support all targets Signed-off-by: Alessandro Rubini <rubini@gnudd.com> --- sdbfs/Makefile | 5 +++++ sdbfs/doc/Makefile | 4 ++-- sdbfs/lib/Makefile | 3 +++ sdbfs/userspace/Makefile | 3 +++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 sdbfs/Makefile diff --git a/sdbfs/Makefile b/sdbfs/Makefile new file mode 100644 index 0000000..b5a990f --- /dev/null +++ b/sdbfs/Makefile @@ -0,0 +1,5 @@ + +DIRS = kernel lib userspace doc + +all clean modules install modules_install: + for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done diff --git a/sdbfs/doc/Makefile b/sdbfs/doc/Makefile index 553ac80..adb97ed 100644 --- a/sdbfs/doc/Makefile +++ b/sdbfs/doc/Makefile @@ -56,5 +56,5 @@ terse: clean: terse rm -f $(ALL) $(TEXI) -install: - +# add the other unused targets, so the rule in ../Makefile works +modules install modules_install: diff --git a/sdbfs/lib/Makefile b/sdbfs/lib/Makefile index 5eda796..ddff994 100644 --- a/sdbfs/lib/Makefile +++ b/sdbfs/lib/Makefile @@ -38,3 +38,6 @@ $(LIB): $(OBJS) clean: rm -f $(OBJS) $(LIB) *~ core + +# add the other unused targets, so the rule in ../Makefile works +modules install modules_install: diff --git a/sdbfs/userspace/Makefile b/sdbfs/userspace/Makefile index f5c5161..98e4676 100644 --- a/sdbfs/userspace/Makefile +++ b/sdbfs/userspace/Makefile @@ -24,3 +24,6 @@ $(PROG): ../lib/libsdbfs.a clean: rm -f $(PROG) *.o *~ core + +# add the other unused targets, so the rule in ../Makefile works +modules install modules_install: -- GitLab