Mercurial > projects > xinhibit-applet
annotate deps.sed @ 17:cb21006b64c7
Fix typo in macro definition
author | Guido Berhoerster <guido+xinhibit-applet@berhoerster.name> |
---|---|
date | Fri, 27 Feb 2015 23:28:06 +0100 |
parents | 4df0dc4dcc3d |
children |
rev | line source |
---|---|
11
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
1 /^[^:]\{1,\}:.*\\$/{ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
2 h |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
3 s/\([^:]\{1,\}:\).*/\1/ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
4 x |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
5 s/[^:]\{1,\}:// |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
6 } |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
7 /\\$/,/^$/bgen |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
8 /\\$/,/[^\\]$/{ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
9 :gen |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
10 s/[[:blank:]]*\\$// |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
11 s/^[[:blank:]]*// |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
12 G |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
13 s/\(.*\)\n\(.*\)/\2 \1/ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
14 } |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
15 /^[^:]\{1,\}:[[:blank:]]*$/d |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
16 /^[^:]\{1,\}\.o:/{ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
17 s/[[:blank:]]*[^[:blank:]]\{1,\}\.[cC][[:blank:]]*/ /g |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
18 s/[[:blank:]]*[^[:blank:]]\{1,\}\.[cC]$//g |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
19 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cc[[:blank:]]*/ /g |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
20 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cc$//g |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
21 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cpp[[:blank:]]*/ /g |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
22 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cpp$//g |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
23 /^[^:]\{1,\}:[[:blank:]]*$/d |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
24 s/^\([^:]\{1,\}\)\.o[[:blank:]]*:[[:blank:]]*\(.*\)/\1.d: $(wildcard \2)\ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
25 &/ |
4df0dc4dcc3d
Fix automatic dependency generation and improve portability
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
26 } |