On Mon, 02 Mar 2009, Vailton Renato wrote:

Hi,

> Explain: I am outlining an auxiliary tool that will work with the
> hbmk2 to compile only the changed files, but I can not use it because
> these files are always deleted.
> If .C  / .O[BJ] / .RES are not erased, then I could compile only the
> changed files...

You do not need temporary .c files at all. The final result of
pure .prg file compilation is .o[bj] and it's enough to compare
dates of .prg and .o[bj] files.
If you run hbmk2 with -hbcmp parameter then it should not try create
final executable file but only compile give files what I guess is
sth what you are looking for.
Anyhow looks that in current SVN

   hbmk2 -hbcmp -n -w -es2 test.prg

stop to generate test.o[bj] but creates test.c
It's sth new. This functionality was working few days ago.
Viktor?

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

Reply via email to