Subject:
|
Editing Makefile (adding comman line arguements)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sat, 6 Dec 2003 20:37:11 GMT
|
Viewed:
|
3985 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
I am trying to edit Makefile in the main brickos dir so that I can access the
arguements on the command line when I enter "make _____" to compile the
directory.
I need to do so because I need to have a certain command execute when the
arguements are not equal to 1 of 3 things.
I know that cygwin uses a bash shell, and I have looked at various bash
scripting commands but none work. I have tried $argv[1], $1, $*, $@... and
other variation of them (including sorrounding the variable names in '(' and
')'.
I am rather new to scripting, but have a pretty good understanding of it, does
anyone have any knowlegde of this issue?
Thanks
Mike
|
|
Message has 1 Reply:
3 Messages in This Thread: ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Editing Makefile (adding comman line arguements) -Ed Manlove (7-Dec-03 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: Editing Makefile (adding comman line arguements) -Michael Martelli (7-Dec-03 to lugnet.robotics.rcx.legos)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|