Subject:
|
Editing Makefile (adding comman line arguements)
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sat, 6 Dec 2003 20:37:11 GMT
|
Viewed:
|
4285 times
|
| |
| |
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:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|