Zeus Forum Index Zeus
Use this forum to ask for help, submit a bug report or make a suggestion.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Gnu Make Two Step

 
Post new topic   Reply to topic    Zeus Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
bfmitch



Joined: 13 Jun 2005
Posts: 1

PostPosted: Mon Jun 13, 2005 5:17 pm    Post subject: Gnu Make Two Step Reply with quote

I am using this with the WinARM toolset. It's an expansion on someone else's suggestion for getting output from Gnu Make. Since I had the same problem as Gnu Make, I figure this should fix it for that too.

First. Create two files.
mymake.cmd and mymake.bat

mymake.cmd looks like this:
Code:
@echo off
command /c mymake.bat %1


If you happen to have 4NT or 4DOS, you can use them instead of command.exe.

mymake.bat looks like this:
Code:
@echo off
if [%1]==[all] make all
if [%1]==[program] make program
if [%1]==[clean] make clean
exit


In my workspace options I have:
Make Command Line = mymake.cmd program
Rebuild Command Line = mymake.cmd all
Clean Command Line = mymake.cmd clean

For you ARM folks, this even works when the lpc21isp.exe program is called from within the makefile. I just have to click in the screen for the Project Make tab to have the interactive prompts show up.
Back to top
View user's profile Send private message
jussij
Site Admin


Joined: 13 Aug 2004
Posts: 1445

PostPosted: Fri Dec 25, 2009 12:10 am    Post subject: Reply with quote

Here are the details about the reported problem with the GNU make utility, with an alternative but less effective work around Wink

Cheers Jussi
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Zeus Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group