Borland Make Utility Issues

Re: Borland Make Utility Issues

Postby Antonio Linares » Wed Apr 19, 2017 4:48 pm

James,

> Do you mean also that the OBJs and Cs are getting recompiled when any change is made to a PRG?

Yes
regards, saludos

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

Re: Borland Make Utility Issues

Postby James Bott » Wed Apr 19, 2017 5:12 pm

Antonio,

Can you please send me a copy of your Test.mak file? I still cannot get mine to work.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Borland Make Utility Issues

Postby Antonio Linares » Wed Apr 19, 2017 5:14 pm

James,

I just emailed it to you
regards, saludos

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

Re: Borland Make Utility Issues

Postby James Bott » Wed Apr 19, 2017 5:57 pm

Antonio,

I still haven't received it. Could you send another copy. Hmm, maybe you do need to rename the zip because your email won't accept it even to send.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Borland Make Utility Issues

Postby Antonio Linares » Wed Apr 19, 2017 7:17 pm

regards, saludos

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

Re: Borland Make Utility Issues

Postby James Bott » Wed Apr 19, 2017 8:45 pm

Antonio,

Yea! Its working. Now to figure out what is different with my old version of test.mak.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Borland Make Utility Issues

Postby James Bott » Wed Apr 19, 2017 9:57 pm

Ok, here is what I found.

I had this:

PRG = \
alert.PRG \
one.PRG

And it HAS to be like this:

PRG = \
alert.prg \
one.prg

The first item has to be in upper case (left of the equals sign), and the filename extensions have to be in lower case.

I know I tried that at one time, and it didn't make a difference. Possibly something else was also different then.

If the filename extension is not in lower case, then the OBJs never get checked so the old OBJs continue to get used whenever you run the make file even though you have made changes to the PRGs.

I can't see any real reason the make file needs to have it that way. At least it should display a syntax error message. And I didn't see any mention of this in any of the few bits of documentation that I found for Borland's Make.exe.

OK, if it was easy, then anyone could do it!

Thanks Antonio and everyone else for your input.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Borland Make Utility Issues

Postby Antonio Linares » Thu Apr 20, 2017 5:13 am

It was my first answer to you :-)

viewtopic.php?p=200671#p200671
regards, saludos

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

Re: Borland Make Utility Issues

Postby James Bott » Thu Apr 20, 2017 11:17 pm

Antonio,

Yes, I admit it. But then I was not working with the simple test.mak, but rather the more complex makefile for my app. I tried it with both upper and lower case and it made no difference. I assumed, therefore, that it didn't matter.

However, after posting my last message and then going back to my app's makefile, I found that it was already in lower case and STILL wasn't working. I spent another few hours on it this morning before I got it working. So there was something else that was preventing it from working.

Now, before I forget everything, I am going to make lots of notes on makefiles in my personal help file, so I don't ever have to go through this again. And so you don't have to answer my questions about it either!

Best Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Borland Make Utility Issues

Postby Marc Venken » Fri Apr 21, 2017 7:18 am

James,

Please share the note also here. I'm going to need them in a few days.... :wink:
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1431
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Borland Make Utility Issues

Postby Antonio Linares » Fri Apr 21, 2017 11:21 am

Marc,

You can use this working example:
https://bitbucket.org/fivetech/fivewin-contributions/downloads/make.zop

and modify it. Use lowercase for your PRGs names and extensions
regards, saludos

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 107 guests