help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Target's & Prerequisite's order


From: S kris
Subject: Target's & Prerequisite's order
Date: Tue, 10 Jun 2003 14:19:05 +0530

Hi,

Please look into the following simple makefile:

#Start of Simple Makefile

B: D
#some commands for target B
.........

A: B C
#some commands for target A

.PHONY: clean

clean:
#some commads to remove A and B

#End of Simple Makefile

When I try the above makefile with make command, only target B is obtained but not target A. I know that I would get target A when A: B C is put before B: D statement. But I would like to get target A maintaining the same order as shown above. How to get this?

Thanks

--Kris

_________________________________________________________________
Dress up your desktop! Get the best wallpapers. http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just click here!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]