projects/pwm

view deps.sed @ 26:5bdea77d0c1d

Add pwm-clip utility for setting the X11 CLIPBOARD selection
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Thu Sep 21 09:45:59 2017 +0200 (2017-09-21)
parents
children
line source
1 /^[^:]\{1,\}:.*\\$/{
2 h
3 s/\([^:]\{1,\}:\).*/\1/
4 x
5 s/[^:]\{1,\}://
6 }
7 /\\$/,/^$/bgen
8 /\\$/,/[^\\]$/{
9 :gen
10 s/[[:blank:]]*\\$//
11 s/^[[:blank:]]*//
12 G
13 s/\(.*\)\n\(.*\)/\2 \1/
14 }
15 /^[^:]\{1,\}:[[:blank:]]*$/d
16 /^[^:]\{1,\}\.o:/{
17 s/[[:blank:]]*[^[:blank:]]\{1,\}\.[cC][[:blank:]]*/ /g
18 s/[[:blank:]]*[^[:blank:]]\{1,\}\.[cC]$//g
19 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cc[[:blank:]]*/ /g
20 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cc$//g
21 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cpp[[:blank:]]*/ /g
22 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cpp$//g
23 /^[^:]\{1,\}:[[:blank:]]*$/d
24 s/^\([^:]\{1,\}\)\.o[[:blank:]]*:[[:blank:]]*\(.*\)/\1.d: $(wildcard \2)\
25 &/
26 }