diff options
-rw-r--r-- | Makefile.common | 6 | ||||
-rw-r--r-- | Makefile.rules | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.common b/Makefile.common index 0d4cfb6ba1..d1fd8e70ea 100644 --- a/Makefile.common +++ b/Makefile.common @@ -78,9 +78,9 @@ MakeLib = $(AR) # Source includes all of the cpp files, and objects are derived from the # source files... -ifndef Source -Source = $(wildcard *.cpp *.c *.y *.l) -endif +# The local Makefile can list other Source files via Source = ... +# +Source := $(Source) $(wildcard *.cpp *.c *.y *.l) Objs = $(sort $(addsuffix .o,$(basename $(Source)))) ObjectsO = $(addprefix Release/,$(Objs)) diff --git a/Makefile.rules b/Makefile.rules index 0d4cfb6ba1..d1fd8e70ea 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -78,9 +78,9 @@ MakeLib = $(AR) # Source includes all of the cpp files, and objects are derived from the # source files... -ifndef Source -Source = $(wildcard *.cpp *.c *.y *.l) -endif +# The local Makefile can list other Source files via Source = ... +# +Source := $(Source) $(wildcard *.cpp *.c *.y *.l) Objs = $(sort $(addsuffix .o,$(basename $(Source)))) ObjectsO = $(addprefix Release/,$(Objs)) |