To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3544
3543  |  3545
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:
  Re: Editing Makefile (adding comman line arguements)
 
(...) Mike, You might start off by checking the manual for GNU Make at (URL) just look within the various makefiles within the brickOS code. Try Makefile.commom at brickOS root. Ed (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR