mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 13:30:30 +00:00
f76db60bbb
(HFILES): New variable. (CFILES): Add all C files. (.dep, .dep1, dep.sed, dep, dep-in): New targets. Delete old dependencies, and build new ones. * dep-in.sed: New file.
20 lines
200 B
Sed
20 lines
200 B
Sed
:loop
|
|
/\\$/N
|
|
s/\\\n */ /g
|
|
t loop
|
|
|
|
s! @BFD_H@! $(BFD_H)!g
|
|
s!@INCDIR@!$(INCDIR)!g
|
|
s!@BFDDIR@!$(BFDDIR)!g
|
|
s!@SRCDIR@/!!g
|
|
|
|
s/\\\n */ /g
|
|
|
|
s/ *$//
|
|
s/ */ /g
|
|
s/ *:/:/g
|
|
/:$/d
|
|
|
|
s/\(.\{50\}[^ ]*\) /\1 \\\
|
|
/g
|