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.
Vailton Renato 2009/3/2 Przemyslaw Czerpak <[email protected]>: > 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 > -- Vailton Renato SQL LIB, MyMake & xDev Developer _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
