From 23fbed21c284d6c286f019f0d68e1e0d2c4b2906 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Fri, 18 Sep 2009 15:28:22 -0300 Subject: [PATCH] Use symbolic names in Makefiles default goals --- lib1/Makefile | 6 +++--- lib2/Makefile | 6 +++--- subproj/Config.mak | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib1/Makefile b/lib1/Makefile index fe10532..67f18f8 100644 --- a/lib1/Makefile +++ b/lib1/Makefile @@ -2,9 +2,9 @@ # Top-level directory T := .. +# Default goal for building this directory +.DEFAULT_GOAL := lib1 + # Include the top-level build include $T/Toplevel.mak -# Default goal for building this directory -.DEFAULT_GOAL := $L/liblib1.so - diff --git a/lib2/Makefile b/lib2/Makefile index 99f8aad..0692b13 100644 --- a/lib2/Makefile +++ b/lib2/Makefile @@ -2,9 +2,9 @@ # Top-level directory T := .. +# Default goal for building this directory +.DEFAULT_GOAL := lib2 + # Include the top-level build include $T/Toplevel.mak -# Default goal for building this directory -.DEFAULT_GOAL := $L/liblib2.so - diff --git a/subproj/Config.mak b/subproj/Config.mak index 61e3900..dc4e4b4 100644 --- a/subproj/Config.mak +++ b/subproj/Config.mak @@ -2,9 +2,9 @@ # Use the container project top-level directory as ours T := .. -# Include the "parent" project configuration -sinclude $T/Config.mak - # Define the default goal when doing make in this directory .DEFAULT_GOAL := otherproj +# Include the "parent" project configuration +sinclude $T/Config.mak + -- 2.43.0