FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Borland Make Utility Issues
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 04: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 05:14 PM

James,

I just emailed it to you

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 07:17 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 08: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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 09: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Borland Make Utility Issues
Posted: Thu Apr 20, 2017 05:13 AM

It was my first answer to you :-)

viewtopic.php?p=200671#p200671

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Borland Make Utility Issues
Posted: 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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Borland Make Utility Issues
Posted: Fri Apr 21, 2017 07: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.08 with Harbour
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Borland Make Utility Issues
Posted: 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

Continue the discussion