Visit The New, Modern Unix Linux Community


Regarding Make Scripts


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Regarding Make Scripts
# 1  
Regarding Make Scripts

Hi

I'm well worsed in Shell Scripting on UNIX OS. But I found the script used in Make file for compiling the unix sources is quite criptic. Even though it looks some what like any other Shell Script, but I noticed lots of difference & I'm always facing difficult in understanding the code flow...

I mean, I'm not finding a definite logical/control flow that I found in any other language (viz., C/C++/java) or scripting (bsh/ksh/C shell scripts).

So, when ever I face any of the Make scripts in the work, I spend lots of time scratching my head in understanding the way/logic flows.

Hence, I need to master my self in the art of writing the Make scripts. So please help my out to how to Master my self in the writing Make scripts....

Even I searched lots of Book stores, but failed to find on such book that discuss how to write & Maintain Make Scripts...

Please do the need full..

with Advance Thanks...
Vishwa.

# 2  
Imake by OReilly

<CENTER>
<A HREF="http://www.amazon.com/exec/obidos/ASIN/1565922263/silkroadcom"><IMG SRC="http://images.amazon.com/images/P/1565922263.01.MZZZZZZZ.jpg" border="0" alt="cover" hspace="3" vspace="3"></a>

</CENTER>

Click on book above for more details.
# 3  
Bug script problems

Dear vishwa,
script writting is very critical in unix,
i agreed for that but what i told u is

Use any book but remember the following things which useful to
u while writting script.

* specify algorithams first what exactly u require from script.
* specify variables that u used in script .
* specify the files u used to search and modify.
* specify the logic that u prefere.
* and then make hard code and then soft code.
* It help u to specify the same
commands and loops what is same as c and c++

i hope it work
from
amolpk
# 4  
Hammer & Screwdriver

I also is a dummy for unix

i think unix is very similar with C, just that the command is using another way of representing. especially the structure, statement.....etc
# 5  

Here;s an interesting tid-bit... the C language was developed by the same folks who created (discovered?) Unix. Although there is some confusion (chicken-vs-egg), with out C, there would be no Unix as we know it, and without Unix, there would be no C as we know it.

Wacky!
# 6  
Perhaps a more appropriate choice:
<A HREF="http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0937175900&vm="><IMG SRC="http://a1204.g.akamai.net/7/1204/1401/00082517011/images.barnesandnoble.com/images/1730000/1739327.gif" BORDER=1></A>


(This book focuses on Makefiles, and their uses, while the imake book focuses on creating portable software using the xmkmf/Imakefile tool.)
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #862
Difficulty: Medium
Vue uses an HTML-based template syntax that allows binding the rendered DOM to the underlying Vue instance's data.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Trying to make a script to run 3 other scripts in a screen.

Hello, my name is Spurkle. I'm new to linux stuff. Currently I am trying to make a script which will run three other scripts in screen. This is the code: sudo screen -S hubServ /var/servers/hub/hub.sh sudo screen -S facServh /var/servers/factions/factions.sh sudo screen -S bunServ... (5 Replies)
Discussion started by: Spurkle
5 Replies

2. UNIX for Dummies Questions & Answers

Tips to make scripts install

Hi, I have a series of BASH shell scripts that I would like to package and distribute. I would like to make it as easy as possible users to install the package on their system. The only tasks that need to be performed for installation are 1) unzip the package, 2) modify the user's ~/.bashrc... (1 Reply)
Discussion started by: msb65
1 Replies

3. Shell Programming and Scripting

KSH - How to call different scripts from master scripts based on a column in an Oracle table

Dear Members, I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc. I would like to create a script which will will call other scripts based on the request action. Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies

4. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

5. UNIX for Advanced & Expert Users

How to make the variables of one script available for the other scripts?

Hello Everyone, I want to know how can we make the variables of one script available for the other script? for example i have three scripts variable_availability.sh,first.sh,second.sh and a file containing variables called common ---------------------------------- cat variable_availability.sh... (2 Replies)
Discussion started by: Kesavan
2 Replies

6. Shell Programming and Scripting

Changing the Bash Scripts to Bourne Scripts:URGENT

Hi, I have to write a program to compute the checksums of files ./script.sh I wrote the program using bash and it took me forever since I am a beginner but it works very well. I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies

7. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

8. Shell Programming and Scripting

How can I make running gawk scripts more user-friendly in a Windows environment?

I know, and I apologise for using the W word, but I have users asking if they can use my gawk scripts, but I just know they're not going to like using the DOS command line. Is there any way for me to run my gawk scripts from a gui? Even if it's from a web page (html, php, what ever). I do not... (3 Replies)
Discussion started by: jonathanm
3 Replies

9. Shell Programming and Scripting

How to make the same change in multiple shell scripts?

I would like to make the same change in multiple shell script files and would like to know if anyone can be of some help? I would appreciate it. (4 Replies)
Discussion started by: rdakhan
4 Replies

10. Shell Programming and Scripting

is there any way to make flat file from some of scripts ?

Hello is there any way to if lets say i have main.pl script , but i have 3 includes in this perl script now i will like to some how to treat this main.pl and its includes files as single file something like -E (Preprocess only; do not compile, assemble or link) in the c compilers . in short i... (0 Replies)
Discussion started by: umen
0 Replies

Featured Tech Videos