From 1c05c7027a303c8ea3a718211c9ee6e68acd3b8d Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Tue, 23 Jun 2009 20:38:07 -0400 Subject: [PATCH] changed $(dir $@) to ${$@}, which prevents an odd directory bug from occuring --- rules.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules.mk b/rules.mk index 31ffe12..7a4a728 100644 --- a/rules.mk +++ b/rules.mk @@ -21,15 +21,15 @@ ${TARGET_$P}: ${TARGETTMP_$P} | $${@D} ${cmd-cp} # rule to copy the config files into the working directory -${DSTCFGDIR_$P}%: ${SRCCFGDIR_$P}% | $$(dir $$@) +${DSTCFGDIR_$P}%: ${SRCCFGDIR_$P}% | $${@D} ${cmd-cp} # rule to copy the library files into the working directory -${DSTLIBSDIR_$P}%: ${SRCLIBSDIR_$P}% | $$(dir $$@) +${DSTLIBSDIR_$P}%: ${SRCLIBSDIR_$P}% | $${@D} ${cmd-cp} # rule to copy the text files into the working directory -${DSTTXTDIR_$P}%: ${SRCTXTDIR_$P}% | $$(dir $$@) +${DSTTXTDIR_$P}%: ${SRCTXTDIR_$P}% | $${@D} ${cmd-cp} # rule to make an object file from a .cpp -- 2.10.2