ocaml/tools/MakeDepend

19 lines
497 B
Plaintext
Raw Normal View History

# 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>
-e '/<2F><>t/ delete' <20>
{tmp}.make
delete -i {tmp}.make