On Mon, 02 Mar 2009, Vailton Renato wrote:

Hi,

> My reasoning is that if all files were available, I could build one
> .hbm only temporary with the names of source files that have not
> changed, adding the files .O[BJ] / .RES which were unchanged and thus
> could have hbmk2 a single call to conclude that the compilation /
> linking - avoiding multiple calls to him and thus streamlining the
> process.

That's fine. But for any of such things you do not have to even
know that harbour creates any different *.xyz temporary files.
You only have to know that result of .prg compilation is .o[bj]
file. One of the very important hbmk2 functionality should be
direct support for harbour compiler and linker which can hide
any platform differences so you can use it in other make files
for your favorite make system, f.e. in GNU make:

   %.obj : %.prg
   hbmk2 -hbcmp -n -w -es2 -gc2 -o $@ $<

   %.exe : %.obj
   hbmk2 -hblnk -o $@ $<

Of course you can also try to collect the list of files in some
.hbp/.hbm script if you think it will be better for some reasons,
f.e. due to command line size limitation but I cannot say too much
about their syntax.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to