![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| is there kind of good utility that convert make files to dsp? | umen | UNIX for Dummies Questions & Answers | 1 | 10-04-2006 08:09 PM |
| Make utility | bigmoon | SUN Solaris | 2 | 10-10-2005 09:48 PM |
| MAKE utility | victorvvk | High Level Programming | 4 | 06-30-2005 10:23 AM |
| Make utility | victorvvk | High Level Programming | 4 | 06-25-2005 01:40 AM |
| Using make utility to create an mini-app | Yifan_Guo | High Level Programming | 1 | 03-19-2005 05:35 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Make utility - some Qs togurus..
(Sorry for previous not on enlish! I did not realized it is english forum. )
I am looking for help with Make utility. I could not get help from the 'man' pages. 1. About Macro (as a variable): It is clear about defining any macro in beginning or in command line, but isn't it no way to redefine a macro during a processing? I would need to setup some indicator variable in a dependency section and make some action in futher processing depend on its value. Example: IND1=0 SECT_0: DEP_1 <command>; \ <command>; \ if [ IND1 -eq 1 ]; then <command>; fi DEP_1: <command>; \ IND1=1 It comes out that the re-definition IND1 is not heppening. Maybe I should do it differently? Another related problem that it seems there is no way to change an environment variable from any section. Seems that any section is processed in separate subshell?! Is it true? So, is there any way to have a some kind of 'variable' in makefile, not just a 'constant' as it looks like with macro? 2. Initialization section: I know, it is .INIT: ..., but how to exit makefile if it would be nessesary or prevent to execute all available section if makefile is ran with no specific section name? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|