Borland make sample

Borland make sample

Postby Marc Vanzegbroeck » Tue Aug 07, 2007 7:21 pm

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Antonio Linares » Tue Aug 07, 2007 7:57 pm

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

Postby hua » Thu Aug 09, 2007 5:51 pm

I noticed it also. Could you post the solution here later Antonio? Thanks
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Postby Marc Vanzegbroeck » Tue Sep 11, 2007 4:23 pm

Antonio,

Did you found a solution for this?

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

Postby Marc Vanzegbroeck » Tue Sep 25, 2007 7:51 pm

Hi,

I found the solution.

I don't know why, but if you change the order from
Code: Select all  Expand view
#change these paths as needed
.path.PRG = .\
.path.OBJ = .\obj
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\


to
Code: Select all  Expand view
#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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Antonio Linares » Tue Sep 25, 2007 7:59 pm

Marc,

Thanks so much for sharing it :-)

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests