help-make
[Top][All Lists]
Advanced

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

Implicit rules


From: sharan basappa
Subject: Implicit rules
Date: Mon, 04 Jun 2007 11:04:42 +0000

Hi,

Does make treat the rule :

a : a.h  as

a : a.o a.h
a.o : a.c
      $(CC) -c $(CPPFLAGS) $(CFLAGS)


Also if I have multiple targets in a rule, do the prereqs specified apply for all the targets

For example, will the following rule

a.o b.o : a.c b.c become

a.o : a.c b.c
b.o : a.c b.c

Regards,
Sharan

_________________________________________________________________
Post your 2nd hand stuff for free on Yello.www.yello.in http://www.yello.in/home.php?m_source=hotmailtag&utm_medium=textlink&utm_content=in&utm_campaign=may





reply via email to

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