diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:07 +0900 |
commit | 3f871456d4d350b5abdb2b7fdcfedec5743d6db2 (patch) | |
tree | 4c2699351c73b7c7fee552574d2c469520556b74 /Makefile.in | |
parent | d0a33ac6d578f5aa5378f02d8b7aa3a6b635cae4 (diff) |
Use general _SRCS and _OBJS, rather and _C_{SRCS, OBJS} and _S_{SRCS, OBJS}
Since we use the implicit ruls for .c and .S, just colelct all sources
in the one variable.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index b4b293a..7df7032 100644 --- a/Makefile.in +++ b/Makefile.in @@ -120,6 +120,11 @@ all: $(TARGETS) @$(MKDIR) -p $(@D) $(COMPILE.S) -MD -o $@ $< +# utility function for converting a list of files (with extension) to +# file.o (or file.d) format. +objify = $(addsuffix .o, $(basename $(1))) +depify = $(addsuffix .d, $(basename $(1))) + # Utility function library # include $(srcdir)/util_lib/Makefile |