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 /util_lib | |
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 'util_lib')
-rw-r--r-- | util_lib/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/util_lib/Makefile b/util_lib/Makefile index f7a7d82..35ee9e7 100644 --- a/util_lib/Makefile +++ b/util_lib/Makefile @@ -1,11 +1,12 @@ # # Utility function library # -UTIL_LIB_SRCS:=util_lib/compute_ip_checksum.c -UTIL_LIB_SRCS+=util_lib/sha256.c -UTIL_LIB_OBJS:=$(patsubst %.c, %.o, $(UTIL_LIB_SRCS)) -UTIL_LIB_DEPS:=$(patsubst %.c, %.d, $(UTIL_LIB_SRCS)) -UTIL_LIB:=libutil.a +UTIL_LIB_SRCS += +UTIL_LIB_SRCS += util_lib/compute_ip_checksum.c +UTIL_LIB_SRCS += util_lib/sha256.c +UTIL_LIB_OBJS =$(call objify, $(UTIL_LIB_SRCS)) +UTIL_LIB_DEPS =$(call depify, $(UTIL_LIB_OBJS)) +UTIL_LIB = libutil.a -include $(UTIL_LIB_DEPS) |