]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly implicit.c.~5~
authorRoland McGrath <roland@redhat.com>
Tue, 14 Apr 1992 22:39:01 +0000 (22:39 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Apr 1992 22:39:01 +0000 (22:39 +0000)
implicit.c

index 15b0b3ab36461cbb00203bb505e7bca0a2df7b4e..3cf309f92308d7537b6b58c8a2f1855342b6dd41 100644 (file)
@@ -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);
 }
 \f
-#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