diff options
author | Roland McGrath <roland@redhat.com> | 1992-04-14 22:39:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-04-14 22:39:01 +0000 |
commit | 22fda945cc5b5291fdc5b9eaa6fa8c74b56a85fe (patch) | |
tree | def1396129396801f1b3b09c3d9f82d41ce18b62 /implicit.c | |
parent | c5f7787f376a2d0e3004c68483349c7170232618 (diff) | |
download | gunmake-22fda945cc5b5291fdc5b9eaa6fa8c74b56a85fe.tar.gz |
Formerly implicit.c.~5~
Diffstat (limited to 'implicit.c')
-rw-r--r-- | implicit.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* Implicit rule searching for GNU Make. -Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc. +Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make is free software; you can redistribute it and/or modify @@ -50,9 +50,11 @@ try_implicit_rule (file, depth) return pattern_search (file, 0, depth, 0); } -#define DEBUGP2(msg, a1, a2) \ - if (debug_flag) \ - { print_spaces (depth); printf (msg, a1, a2); fflush (stdout); } else +#define DEBUGP2(msg, a1, a2) \ + do { \ + if (debug_flag) \ + { print_spaces (depth); printf (msg, a1, a2); fflush (stdout); } \ + } while (0) /* Search the pattern rules for a rule with an existing dependency to make FILE. If a rule is found, the appropriate commands and deps are put in FILE |