![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| read arguments from shell | DNAx86 | High Level Programming | 1 | 05-11-2008 08:56 AM |
| Make new arguments for echo command | Panteras | Shell Programming and Scripting | 0 | 11-29-2007 11:43 AM |
| read number of arguments in c shell | skumar11 | Shell Programming and Scripting | 1 | 09-07-2007 01:11 PM |
| how to make root user read all | frankkahle | UNIX for Advanced & Expert Users | 4 | 08-30-2007 02:04 PM |
| get whole command arguments in ps -ef? | usfrog | HP-UX | 17 | 04-04-2007 09:11 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
How to read arguments to make command
In the make file
update updateq: ------------------- ---------- i want the makefile to display some messages when user gives "make update", but totally quite wehn user enters "make updateq". Can u tell me how to read these argument in makefile. $1 doesnt work |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
I triesd.. $@ works but then i only need to check the first argument |
|
|||
|
So how about running make -s versus running just make? If the verbosity is really the only difference.
As a purely theoretical remark, it's valid to say make update updateq although of course resolving the paradox isn't exactly a critical issue for you I guess. |
|||
| Google The UNIX and Linux Forums |