aboutsummaryrefslogtreecommitdiff
path: root/src/make2mk
blob: 213cd0856b2b2ac34c6964462f138e120e6b5c31 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

sed -E '
	s/\$\(([^)]+)\)/$\1/g
	s/^(.*)\+=/\1=$\1 /g
	s/^include /</g
	/^</ s/Make/mk/g
' "$@"