diff options
Diffstat (limited to 'src/make2mk')
-rw-r--r-- | src/make2mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/make2mk b/src/make2mk new file mode 100644 index 00000000..213cd085 --- /dev/null +++ b/src/make2mk @@ -0,0 +1,8 @@ +#!/bin/sh + +sed -E ' + s/\$\(([^)]+)\)/$\1/g + s/^(.*)\+=/\1=$\1 /g + s/^include /</g + /^</ s/Make/mk/g +' "$@" |