1996-11-02 10:05:24 -08:00
|
|
|
|
# MakeDepend
|
|
|
|
|
# Generate the Make dependency rules for a set of C files.
|
|
|
|
|
# The rules are printed on standard output.
|
|
|
|
|
# Usage: MakeDepend files<65>
|
|
|
|
|
|
|
|
|
|
set echo 0
|
|
|
|
|
|
|
|
|
|
set tmp MakeDepend.tempfile
|
|
|
|
|
|
|
|
|
|
createmake -fat -depends {tmp} {"parameters"} <20>dev:null
|
|
|
|
|
open -t {tmp}.make
|
|
|
|
|
clear <20>(<28>:\{tmp}\):/<2F>n<EFBFBD>n/:<3A> {tmp}.make
|
|
|
|
|
close -y {tmp}.make
|
|
|
|
|
streamedit -e '1,$ replace /"{ObjDir<69>"???"}"/ ""' <20>
|
|
|
|
|
-e '1,$ replace /"{<7B>MondoBuild<6C>}"/ ""' <20>
|
1997-05-19 08:42:21 -07:00
|
|
|
|
-e '/<2F><>t/ delete' <20>
|
1996-11-02 10:05:24 -08:00
|
|
|
|
{tmp}.make
|
|
|
|
|
delete -i {tmp}.make
|