> Date: Tue, 3 Mar 2009 14:22:01 -0500
> From: "Achugatla, Vijay K. (LNG-CON)" <[email protected]>
> Cc: [email protected]
> 
> Is there any option or directive available in GNU make that searches a
> directory and gets the names of all the files available in that and then
> store that in a variable?

You want the $(wildcard) function, I think.

> Also any idea how to set a destination directory? I mean I want to store
> all the object files in a directory and the executable in another
> directory. How to achieve that?

The compiler has switches to tell it where to put its products,
doesn't it?


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to