Tool for make file


 
Thread Tools Search this Thread
Top Forums Programming Tool for make file
# 1  
Old 11-13-2005
Tool for make file

Hi, so far i am writting make file explicitly, is there is any tool is there to write make file automatically....if so please tell me about that...
Thanks in advance
Sarwan
# 2  
Old 11-13-2005
you could use the command gcc -m sourcefile.c to obtain the file on which depends sourcefile.c
# 3  
Old 11-13-2005
GNU autotools.
however, i'd suggest learning how to write a Makefile rather than using autotools at the first stage.
# 4  
Old 11-13-2005
The first program like this that I ever saw was mkmf which was added to early versions of BSD. HP-UX picked it up and still has it: mkmf man page.

The X consortium extended mkmf a bit and called it xmkmf. xmkmf will invoke a program called imake. And it is common for the generated makefiles to have a rule to invoke makedepend. Man pages: xmkmf, imake, makedepend.
# 5  
Old 11-14-2005
sorry i am not able to get you, if i have 5 files, among them 1 file will have main(),so if i used gcc -m with the main function file ,i can able to know the dependency ...is that u r coming to say right....plz give me one small example...i never used -m flag now i will experiment with that.....thanks 4 u r reply, and i m expecting u r reply again.
Thanks in advance
sarwan
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

File comparsion tool

Hi All, Please suggest some file comparison tool in Linux. The tool have the provision for command line option for file comparison and the output will be stored in to html file. Thanks in advance (2 Replies)
Discussion started by: k_manimuthu
2 Replies

2. UNIX for Advanced & Expert Users

How to make "tab" key in mksnt tool kit case sensitive?

I am using MKS Toolkit on windows7, i observed that when i use "tab" key to complete a file/dir name converts into lower case. Eg: I am having a directory named "Dir1", note "D" is in caps. In unix if i had tried pressing "d" and "<tab>" resulted in no result. However in mksnt toolkit, it... (1 Reply)
Discussion started by: sarbjit
1 Replies

3. AIX

which windows tool can burn iso file?

which windows tool can burn iso file? The iso file is download from IBM web site for HMC upgrade. How to burn this iso file to cd or dvd? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

4. Shell Programming and Scripting

how to make some condition when program/tool unsuccesfully ends with error..

Simply, when i have tool "pdftotext", "sed" or "wget" and if this tool make an error in converting or downloading or something, I want to terminate my script...something like: if ; then exit 1 fi bud I dont know how..can you help guys?:confused: (3 Replies)
Discussion started by: Lukasito
3 Replies

5. Programming

makeutility: how to get the make-file name inside of the make-file?

How I can get the current make-file name in a make-file So, if I run make with specified file:make -f target.mak is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies

6. UNIX for Dummies Questions & Answers

how to open a text file using some tool such as gedit under gtk

how to open a text file using some tool such as gedit under gtk I list some text file names in a GtkCList . I want to open the file on when users click on the row. How to implement this ? Thanks (0 Replies)
Discussion started by: cy163
0 Replies

7. Linux

How to make a tool as 30-days evalution copy

Hi All, I am very curious to know that how to make a product/tool as evalution copy(trail version for 30days). I want to know this implemention process in linux(the tool is in Linux). If anybody have any scripts/articles/ideas please pass them to me. Please help me. Thanks in Advace,... (0 Replies)
Discussion started by: uday123
0 Replies

8. AIX

big brother monitoring tool - make failed

Hi, Does anyone has installed bb on a unix system ? I am trying to install bb on aix 5.3 but I have the following message: If someone can help me probably there is a tool that I need to install ? I don't have C compiler I install gcc instead and gcc++ etc ... bb:/home/bb/bb1.9g-btf/src/ $ make... (0 Replies)
Discussion started by: touny
0 Replies

9. UNIX for Dummies Questions & Answers

Is there any non graphical tool that make selective merge between text files?

whitout using awk / sad and so on? (3 Replies)
Discussion started by: umen
3 Replies
Login or Register to Ask a Question