projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbc50a
)
fixed a path issue with deps
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 13 Jun 2009 04:00:48 +0000
(
00:00
-0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 13 Jun 2009 04:00:48 +0000
(
00:00
-0400)
lib/rules.mk
patch
|
blob
|
blame
|
history
diff --git
a/lib/rules.mk
b/lib/rules.mk
index
6a8fd30
..
9f0ebe8
100644
(file)
--- a/
lib/rules.mk
+++ b/
lib/rules.mk
@@
-46,7
+46,7
@@
${OBJSDIR_$P}%.o: ${SRCSDIR_$P}%.cpp | $${@D}
${DEPSDIR_$P}%.d: ${SRCSDIR_$P}%.cpp | $${@D}
${Q1}${PRNTFMT} "DEP" "$@"
${Q2}${CXX} -MM ${CXXFLAGS} $< ${INCFLAGS} | \
- sed 's/\(^.*\):/$(subst /,\/,${
OBJSDIR}\1
$@):/' > $@
+ sed 's/\(^.*\):/$(subst /,\/,${
@:${DEPSDIR}%.d=${OBJSDIR}%.o}
$@):/' > $@
L_CLEANCMDS += $P-cleanbin