From 341d49b0610fcf725da618d87fda577a3d512343 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 5 Jan 2010 15:05:57 -0800 Subject: Makefiles: Use .DEFAULT to support arbitrary targets from sub directories. Taking advantage of the .DEFAULT construct means that we won't need to explicitly list targets such as "clean", etc. in each sub-Makefile. --- compat/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat') diff --git a/compat/Makefile b/compat/Makefile index 9a29ffcf..fa25832e 100644 --- a/compat/Makefile +++ b/compat/Makefile @@ -1,5 +1,5 @@ all: $(MAKE) -C .. all -clean: - $(MAKE) -C .. clean +.DEFAULT: + $(MAKE) -C .. $@ -- cgit v1.2.3