projects
/
henge
/
apc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
35c8fee
)
efficiency
author
ken
<ken@mihrtec.com>
Fri, 16 Dec 2016 20:28:02 +0000
(12:28 -0800)
committer
ken
<ken@mihrtec.com>
Fri, 16 Dec 2016 20:28:02 +0000
(12:28 -0800)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
2d713d3
..
20c74d6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-46,7
+46,7
@@
OBJ := $(patsubst %.c,%.o,$(cSRC) $(cGEN))
$(foreach drv,$(DRIVERS),\
$(eval OTHERS := $(filter-out $(drv),$(DRIVERS)))\
$(eval $(drv)SRC := $(filter-out $(OTHERS:%=\%/%.o),$(OBJ)))\
-$(eval $(drv)-dSRC := $(
filter-out $(OTHERS:%=\%/%-d.o),$(OBJ:%.o=%-d.o)
)))
+$(eval $(drv)-dSRC := $(
$(drv)SRC:%.o=%-d.o
)))
# Unless cleaning, deps should be generated for each source file
ifeq (,$(filter clean,$(MAKECMDGOALS)))