help-make
[Top][All Lists]
Advanced

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

can gnu make do this?


From: Mr. Feed
Subject: can gnu make do this?
Date: Wed, 19 Dec 2001 21:28:44 -0800

hi there,

i was trying to do the following:

compile several executable based on different .o set, and have a generic make 
file to compile them.

so basically, 

aaaOBJS = a.o, aa.o

bbbOBJS = b.o, bb.o

I want to do:

$(OBJDIR)/%: $(%OBJS)
...

i.e. use different set of .o file set based on the stem name.

i have read through the manual for gmake, but can not figure out a way to do 
it. Can you guys give me some pointer?

thanks a lot.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




reply via email to

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