Makefile entries


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Makefile entries
# 1  
Old 06-03-2007
Makefile entries

Hi,
For an exe named "eco_action_driver" , in the makefile i have the following entries:

OBJ_FILES= eco_action_driver.o

LIB_NAME=eco_action_driver

OBJ_FILES is understood , but i cannot make out what is LIB_NAME. How this name is same as that of the exe.

Can anyone please explain me this???
# 2  
Old 06-03-2007
Without seeing the rest of the makefile I could not possibly comment.

You are fairly free with macro and rules in a Makefile. Presumably you are either including (a) some other makefile definitions (c) this was generated by some tool, or (c) you are copying another project as a template.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies

2. UNIX for Advanced & Expert Users

Makefile executing another Makefile first?

I have 2 libraries in 2 different directories that I build with Makefiles. library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A? I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
0 Replies

3. Programming

[Makefile] nothing to be done for 'all'

hello, I have a firts makefile who call others makefile. for this i use: $ make -f linux.mak and output his: $ make -f linux.mak all make -C DerelictAL all PLATFORM=linux make: Entering directory `/home/builder/rpmbuild/SOURCES/derelict2-20100407/DerelictAL' make: Nothing to be done for... (2 Replies)
Discussion started by: bioinfornatics
2 Replies

4. Shell Programming and Scripting

makefile

Hi, I have problem related to makefile in c in linux(ubuntu). What is the meaning of @prefix@ what this two @ symbols mean here? Thanks, Vivek (0 Replies)
Discussion started by: vivek146
0 Replies

5. Programming

makefile help

Hi all, I'm new to make files . I'm writing a make file to compile and create .so files. i've 20 .cpp files. I want to compile one file at a time and then i've to create 1 .so for each file that i compiled. for eg: list.mk is having all the 20 .spp files. name = a.cpp name =+... (2 Replies)
Discussion started by: vij_krr
2 Replies

6. Programming

Makefile help

I've copied a C++ project from my old computer to this one, and I am now trying to (without success) compile the project in the same way as I did before. I use Emacs as a text editor and compile with g++. Here is what my makefile looks like: CC=g++ CPPFLAGS=-Wall CPPFLAGS+=-I..... (4 Replies)
Discussion started by: TriKri
4 Replies

7. Shell Programming and Scripting

Regarding Makefile

Hi friends, I have a problem with compiling makefile.While i am compiling makefile it always compiles 1 or 2 files inside that makefile even if nothing is changed in those files.If none of the changes are made in those file while compiling the makefile it should output like "file is upto date",... (0 Replies)
Discussion started by: s.sen1213
0 Replies

8. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error: make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies

9. Programming

Makefile

I am writing my first makefile, and I face a problem: all: sequential pthreads1 pthreads2 openmp1 openmp2 sequential: sequential/main.c sequential/definitions.h gcc -o seq sequential/main.c pthreads1: pthreads1/main.c pthreads1/definitions.h gcc -o pthr1 pthreads1/main.c -lpthread ... (0 Replies)
Discussion started by: myle
0 Replies

10. Programming

about the makefile

can anyone well explain how to create a makefile? especially those commands in the makefile? BTW, what is CFLAG? (2 Replies)
Discussion started by: ligerdave
2 Replies
Login or Register to Ask a Question