VPATH in makefile issue.

Posted by Ashok Patil on Stack Overflow See other posts from Stack Overflow or by Ashok Patil
Published on 2010-04-08T03:49:34Z Indexed on 2010/04/08 3:53 UTC
Read the original article Hit count: 419

Filed under:

Hello,

I have a question related to VPATH. I'm playing around with make files and the VPATH variable. Basically, I'm grabbing source files from a few different places (specified by the VPATH), and trying to compile them into the another directory ( $CURDIR/OBJ/ ) using simply a list of .o-files that I want.

Can I create .o's in any another directory other than current dir when using VPATH??

© Stack Overflow or respective owner

Related posts about makefile