diff options
author | Paul Smith <psmith@gnu.org> | 2011-02-21 07:30:11 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2011-02-21 07:30:11 +0000 |
commit | 1454a04f81708850353dbdc0807a099c5aaab55b (patch) | |
tree | 4f414cb592087bed30a3563174c554f155a229f6 /remake.c | |
parent | ae2ab76faca93cad3059808b14d02f5565275e31 (diff) | |
download | gunmake-1454a04f81708850353dbdc0807a099c5aaab55b.tar.gz |
* Fixups to the make man page
* Minor syntax cleanups in the manual
* In non-maintainer mode set NDEBUG to disable assert()
* Performance improvements in strcache:
Build Info 1000 2000 4000
3.82 -g 2.61s 8.85s 33.52s
3.82 -O2 1.90s 7.62s 27.82s
New -g (with asserts) 1.03s 2.31s 5.79s
New -O2 (no asserts) 0.65s 1.50s 3.52s
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -355,11 +355,6 @@ update_file (struct file *file, unsigned int depth) static void complain (struct file *file) { - const char *msg_noparent - = _("%sNo rule to make target `%s'%s"); - const char *msg_parent - = _("%sNo rule to make target `%s', needed by `%s'%s"); - /* If this file has no_diag set then it means we tried to update it before in the dontcare mode and failed. The target that actually failed is not necessarily this file but could be one of its direct @@ -379,6 +374,11 @@ complain (struct file *file) if (d == 0) { + const char *msg_noparent + = _("%sNo rule to make target `%s'%s"); + const char *msg_parent + = _("%sNo rule to make target `%s', needed by `%s'%s"); + /* Didn't find any dependencies to complain about. */ if (!keep_going_flag) { |