| @@ -1,24 +1,26 @@ | | | @@ -1,24 +1,26 @@ |
1 | # $NetBSD: posix1.mk,v 1.3 2014/08/30 22:21:08 sjg Exp $ | | 1 | # $NetBSD: posix1.mk,v 1.4 2020/08/10 18:19:58 rillig Exp $ |
2 | | | 2 | |
3 | # Keep the default suffixes from interfering, just in case. | | 3 | # Keep the default suffixes from interfering, just in case. |
4 | .SUFFIXES: | | 4 | .SUFFIXES: |
5 | | | 5 | |
6 | all: line-continuations suffix-substitution localvars | | 6 | all: line-continuations suffix-substitution localvars |
7 | | | 7 | |
8 | # we need to clean for repeatable results | | 8 | # we need to clean for repeatable results |
9 | .BEGIN: clean | | 9 | .BEGIN: clean |
10 | clean: | | 10 | clean: |
11 | @rm -f lib.a dir/* dummy obj* | | 11 | @rm -f lib.a dir/* dummy obj* |
| | | 12 | .END: |
| | | 13 | @rm -f lib.a dir/* dummy obj* |
12 | | | 14 | |
13 | # | | 15 | # |
14 | # Line continuations | | 16 | # Line continuations |
15 | # | | 17 | # |
16 | | | 18 | |
17 | # Escaped newlines and leading whitespace from the next line are replaced | | 19 | # Escaped newlines and leading whitespace from the next line are replaced |
18 | # with single space, except in commands, where the escape and the newline | | 20 | # with single space, except in commands, where the escape and the newline |
19 | # are retained, but a single leading tab (if any) from the next line is | | 21 | # are retained, but a single leading tab (if any) from the next line is |
20 | # removed. (PR 49085) | | 22 | # removed. (PR 49085) |
21 | # Expect: | | 23 | # Expect: |
22 | # ${VAR} = "foo bar baz" | | 24 | # ${VAR} = "foo bar baz" |
23 | # a | | 25 | # a |
24 | # b | | 26 | # b |