config dir fix
[physics.git] / src / Makefile
index 3253d18..ec5ce8e 100644 (file)
@@ -70,9 +70,9 @@ endif
 all: ${TARGET} ${CONFIGS}
 
 # rule to copy the config files into the working directory
-${CONFIGDEST}%.cfg: ${CONFIGDIR}%.cfg | ${CONFIGDIR} ${WORKINGDIR}
+${CONFIGDEST}%.cfg: ${CONFIGDIR}%.cfg | ${CONFIGDEST} ${WORKINGDIR}
        ${Q1}echo "cp: $@"
-       ${Q2}cp -r $< $@
+       ${Q2}cp $< $@
 
 # rule to copy tmp target to working directory
 ${TARGET}: ${TARGETTMP} | ${WORKINGDIR}