On Sat, 06 Mar 2010, Szak�ts Viktor wrote: Hi,
> After introducing hvmall.c, the incremental > build mode don't work in case of vm lib for > targets which have HB_HVM_ALL mode enabled. > This means that if any .c files which are > included into hvmall.c are changed, the lib > won't be automatically rebuilt and a 'clean' > is necessary. It's not tragic, but slows > down things a bit and it needs extra > attention. The same happens when we change header files. We do not have anything to force recompilation of files which include modified header file. Similar situation is with final binaries. They are not relinked when libraries are refreshed. So for me it's not very unusual situation. > Any idea how to tell GNU Make to rebuild > hvmall.c if any of it's dependencies change? Add to src/vm/Makefile: hvmall.o : $(TOP)hvm.c $(TOP)itemapi.c $(TOP)hashes.c \ $(TOP)arrays.c $(TOP)classes.c ... In the final version $(OBJ_EXT) should be used instead of .o but AFAIK it's not defined in global.mk best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour