Dave Lewis | 3 Apr 2000 23:17
Favicon

Re: foo.exe depends on itself

check your rules for MkDir, Laura may have put this into
the source a while back:  (from feb 99)

<<
How about if you hack the MkDir rule to grist *its* targets? So
that instead of building "axe" it builds "<_dir>axe"? Try these
changes in the MkDir rule:

	
	   929c929
           <           s = $(<:P) ;
           ---
           >           s = $(<:PG=_dir) ;
	   933c933
           <               switch $(s)
           ---
           >               switch $(s:G=)

Let me know if it works okay. (You don't have a directory called
"_dir" do you?) 

If this fix isn't a problem for you (or anyone else), I'll put it
in the public depot source.

--Laura
>>

dave

(Continue reading)


Gmane