Borland Make Utility Issues
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Borland Make Utility Issues
James,
> Do you mean also that the OBJs and Cs are getting recompiled when any change is made to a PRG?
Yes
> Do you mean also that the OBJs and Cs are getting recompiled when any change is made to a PRG?
Yes
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Borland Make Utility Issues
Antonio,
Can you please send me a copy of your Test.mak file? I still cannot get mine to work.
James
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Borland Make Utility Issues
James,
I just emailed it to you
I just emailed it to you
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Borland Make Utility Issues
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Borland Make Utility Issues
Antonio,
Yea! Its working. Now to figure out what is different with my old version of test.mak.
James
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
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Borland Make Utility Issues
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.
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Borland Make Utility Issues
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
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
- Marc Venken
- Posts: 727
- Joined: Tue Jun 14, 2016 7:51 am
Re: Borland Make Utility Issues
James,
Please share the note also here. I'm going to need them in a few days....
Please share the note also here. I'm going to need them in a few days....
Marc Venken
Using: FWH 20.08 with Harbour
Using: FWH 20.08 with Harbour
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Borland Make Utility Issues
Marc,
You can use this working example:
https://bitbucket.org/fivetech/fivewin- ... s/make.zop
and modify it. Use lowercase for your PRGs names and extensions
You can use this working example:
https://bitbucket.org/fivetech/fivewin- ... s/make.zop
and modify it. Use lowercase for your PRGs names and extensions