Page 1 of 1

Borland make sample

Posted: Tue Aug 07, 2007 7:21 pm
by Marc Vanzegbroeck
Hi,

Is it correct that if I use the make-example in the 'makes' directory, that all the PRG-files are being compiled. Even if there no modification in the prg-files. If I change the path of the OBJ to .\ instead of .\obj (all the .C and .OBJ will be compiled in the .PRG direcory) only the changed files will be recompiled. So than it works fine.

Regards,

Marc

Posted: Tue Aug 07, 2007 7:57 pm
by Antonio Linares
Marc,

> all the PRG-files are being compiled

No, they should not be recompiled. It looks as there is a bug in the makefile

We are going to review it, thanks

Posted: Thu Aug 09, 2007 5:51 pm
by hua
I noticed it also. Could you post the solution here later Antonio? Thanks

Posted: Tue Sep 11, 2007 4:23 pm
by Marc Vanzegbroeck
Antonio,

Did you found a solution for this?

Regards,
Marc

Posted: Tue Sep 25, 2007 7:51 pm
by Marc Vanzegbroeck
Hi,

I found the solution.

I don't know why, but if you change the order from

Code: Select all

#change these paths as needed
.path.PRG = .\
.path.OBJ = .\obj
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\
to

Code: Select all

#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\
then it's working!!!

Regards,
Marc

Posted: Tue Sep 25, 2007 7:59 pm
by Antonio Linares
Marc,

Thanks so much for sharing it :-)

We had it on our to-do list :-)