help-make
[Top][All Lists]
Advanced

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

Re: targets built to an "output" directory.


From: Ken Smith
Subject: Re: targets built to an "output" directory.
Date: Fri, 17 Sep 2004 11:12:10 -0400
User-agent: Mutt/1.5.6i

> default: ${OUTDIR}/arch/a.txt.conf.lang

When you change OUTDIR, you're changing the location where make is going
to look for the prerequisite.  When OUTDIR=., the file needs to be in
"./conf/lang/arch/a.txt".  When OUTDIR=build, the file needs to be in
"build/conf/lang/arch/a.txt".  These are the prerequisites so the files
need to be generated by some other rule in the makefile or you need to
have both copies of these files available to begin with before you can
get the default target to work properly.

Ken




reply via email to

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