mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-05 20:05:15 +00:00
21 lines
273 B
Sed
21 lines
273 B
Sed
:loop
|
|
/\\$/N
|
|
s/\\\n */ /g
|
|
t loop
|
|
|
|
s! \./! !g
|
|
s!@INCDIR@!$(INCDIR)!g
|
|
s!@TOPDIR@/include!$(INCDIR)!g
|
|
s!@BFDDIR@!$(BFDDIR)!g
|
|
s!@TOPDIR@/bfd!$(BFDDIR)!g
|
|
s!@SRCDIR@/!!g
|
|
s! \.\./bfd/hosts/[^ ]*\.h! !g
|
|
s! \.\./intl/libintl\.h!!g
|
|
|
|
s/ *$//
|
|
s/ */ /g
|
|
s/^ */A/
|
|
s/ / \\\
|
|
B/g
|
|
$s/$/ \\/
|