summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-27 06:46:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-27 06:46:15 (GMT)
commitb79affc5c12b7c984acd1e434af5b1aa6b94f68f (patch)
tree7b49f0fc4f2cb675612fc3f94d26b1a86aa8a6b4 /tools
parent60f7839e36d0eaf5bcc90ffe1369dae56ed53dbe (diff)
Allowed to compile the project from a fresh install by fixing mistakes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@521 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'tools')
-rwxr-xr-xtools/d2c/d2c_genmakefile.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/d2c/d2c_genmakefile.sh b/tools/d2c/d2c_genmakefile.sh
index bd5c379..8d3c6b5 100755
--- a/tools/d2c/d2c_genmakefile.sh
+++ b/tools/d2c/d2c_genmakefile.sh
@@ -113,7 +113,8 @@ do
$echo >> ${MAKEFILE_TMP}
$echo -n "${arch}_${op}.c: " >> ${MAKEFILE_TMP}
- $echo "\$(${op}_${arch}_FILES)" | tr [a-z] [A-Z] >> ${MAKEFILE_TMP}
+ $echo -n "\$(${op}_${arch}_FILES)" | tr [a-z] [A-Z] >> ${MAKEFILE_TMP}
+ $echo " ${arch}_opcodes.h" >> ${MAKEFILE_TMP}
$echo -e "\t\$(cini_verbose)cat ${input}/${arch}_.${op}.tmpl.c > \$@" >> ${MAKEFILE_TMP}
$echo -e "\t\$(cgen_verbose)cat \$^ >> \$@" >> ${MAKEFILE_TMP}