You can create the sed command file in Make
Code:
FILES= a.src b.src
EDIT : sedcmd
sed -f sedcmd ${FILES}
sedcmd :
echo '/<iostream.h>/a\\' >${.TARGET}
echo '#include <ios>' >>${.TARGET}
This will produce the following
Code:
$ cat sedcmd
/<iostream.h>/a\
#include <ios>