|
From: | Jed Brown |
Subject: | Re: source and objfiles on different paths |
Date: | Fri, 07 Jun 2013 08:15:12 -0500 |
User-agent: | Notmuch/0.15.2+129~g1907b1d (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) |
Riccardo Manfrin <address@hidden> writes: > Your solution is cool but will recreate the source's directory structure > in my build path (plus needs secondexpansion). > If I wanted to keep all obj code in the same folder what would I need to do? You can use VPATH to locate the source files (combined with a $(OBJDIR)/%.o rule), but be careful of object file name collisions.
[Prev in Thread] | Current Thread | [Next in Thread] |