Page 3 of 3
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 4:48 pm
by Antonio Linares
James,
> Do you mean also that the OBJs and Cs are getting recompiled when any change is made to a PRG?
Yes
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 5:12 pm
by James Bott
Antonio,
Can you please send me a copy of your Test.mak file? I still cannot get mine to work.
James
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 5:14 pm
by Antonio Linares
James,
I just emailed it to you
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 5:57 pm
by James Bott
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
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 7:17 pm
by Antonio Linares
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 8:45 pm
by James Bott
Antonio,
Yea! Its working. Now to figure out what is different with my old version of test.mak.
James
Re: Borland Make Utility Issues
Posted: Wed Apr 19, 2017 9:57 pm
by James Bott
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.
Re: Borland Make Utility Issues
Posted: Thu Apr 20, 2017 5:13 am
by Antonio Linares
It was my first answer to you
viewtopic.php?p=200671#p200671
Re: Borland Make Utility Issues
Posted: Thu Apr 20, 2017 11:17 pm
by James Bott
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
Re: Borland Make Utility Issues
Posted: Fri Apr 21, 2017 7:18 am
by Marc Venken
James,
Please share the note also here. I'm going to need them in a few days....

Re: Borland Make Utility Issues
Posted: Fri Apr 21, 2017 11:21 am
by Antonio Linares
Marc,
You can use this working example:
https://bitbucket.org/fivetech/fivewin-contributions/downloads/make.zopand modify it. Use
lowercase for your PRGs names and extensions