On Tue, 13 Oct 2009, Lorenzo Fiorini wrote:
> I'm trying to figure out how to use it in my makefiles with hb* scripts.
> To avoid the double call of hbcmp, I'm trying to create a make depend
> target that creates a .d file.
> Is this the supposed usage?

If you want to use it in such context then why not, i.e. use this
script to generate .d file for .prg file given as 1-st parameter:

   #!/bin/sh
   echo -n "${1%.prg}.o: " > "${1%.prg}.d"
   hbcmp -n2 -sm -q2 "$1" >> "${1%.prg}.d"

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to