Borland make sample

Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Borland make sample

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post by hua »

I noticed it also. Could you post the solution here later Antonio? Thanks
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Post by Marc Vanzegbroeck »

Antonio,

Did you found a solution for this?

Regards,
Marc
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Marc,

Thanks so much for sharing it :-)

We had it on our to-do list :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply