Makefile prerequisites


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Makefile prerequisites
# 1  
Old 11-03-2012
Makefile prerequisites

In the makefile code below am I correct to say that the prerequisites are:
Code:
4thg
4thx
4thd
4thc
lib4th

Code:
OBJ4TH = errs_4th.o save_4th.o load_4th.o free_4th.o comp_4th.o \
	name_4th.o dump_4th.o exec_4th.o open_4th.o hgen_4th.o cgen_4th.o

all: lib4th.a 4th # 4thc 4thd 4thx 4thg

lib4th.a: $(OBJ4TH)
	ar r $@ $(OBJ4TH)

4th: lib4th.a 4th.o
	$(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th

4thc: lib4th.a 4thc.o
	$(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th

4thd: lib4th.a 4thd.o
	$(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th

4thx: lib4th.a 4thx.o
	$(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th

4thg: lib4th.a 4thg.o
	$(CC) $(CFLAGS) -I. -o $@ $@.o -L. -l4th

# 2  
Old 11-04-2012
Yes that's correct
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

PreRequisites for Dynamic LPAR actions

Hello All, To perform Dynamic Operations from HMC in command Line (such as adding cpu to an lpar for example) in order to avoid stopping Applications, What PreRequisites are needed ? AIX version ? HMC version ? Filesets (applied/committed) ? and what else should I have to check ...? What is... (2 Replies)
Discussion started by: LoLo92
2 Replies

2. AIX

Prerequisites for Infosphere v9.1

Hi, We want to install Infosphere v9.1 and the manual illustrates the below requirements. I am not good at unix. So want to clarify and know whether I am going the right direction. Prerequisites are below All AIX 6.1 technology levels and fix packs are supported. Processors: RISC POWER5,... (4 Replies)
Discussion started by: tostay2003
4 Replies

3. AIX

Prerequisites for installing VIOS

Hello, I am trying to setup LPARs on a p7 system. There is an existing install of AIX 7.1 that we have been using for various tasks. Can I install VIOS on top of this existing OS without any other prep work? Or is it advisable to install a fresh copy of AIX before installing VIOS on it? ... (1 Reply)
Discussion started by: bstring
1 Replies

4. Programming

J2EE prerequisites

Hi guys, I'm going to start studding about J2EE in a couple of weeks. I have no idea about its technologies. what prerequisites do i need. I only know java and have basic knowledge about HTML. I have a solid knowledge on database. 1. Do i need java script or CSS knowledge for JSP and JSF? 2.... (1 Reply)
Discussion started by: majid.merkava
1 Replies

5. Solaris

Prerequisites for Solaris10 Branded Zone within Solaris 11 Express

Dear all, we are trying to install a Solaris10 Branded Zone on a Solaris 11 Express system getting this message: ***The image patch level is downrev for running in a solaris10 branded zone*** The Sparc Solaris 10 system is running Release 11/06 and Patch 119254-70 is installed. Does the... (0 Replies)
Discussion started by: xunil321
0 Replies

6. 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

7. Solaris

VxVM volume extending Prerequisites

Hellow Experts, Could anyone tell me the Prerequisites for extending a Volume on VxVM. (3 Replies)
Discussion started by: sudhan143
3 Replies

8. 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

9. 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
Login or Register to Ask a Question