help-make
[Top][All Lists]
Advanced

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

Re: Multiple Builds From Same Source


From: Matthias Fechner
Subject: Re: Multiple Builds From Same Source
Date: Tue, 21 May 2013 19:13:52 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

Am 21.05.2013 03:36, schrieb cramerj:
> Hello,
> 
> I am trying to build a 32-bit and 64-bit library using the same source with 
> just one invocation of Make.  Unfortunately, I can't seem to figure out how 
> to tell Make to delete the intermediate files before trying to build the 
> second library.  The object files persist in Make's database so that it 
> performs the archive of the second target using the first target's object 
> files.  Only after that is done, Make will then delete the object files (as 
> expected).  Also, if you have any "facepalm" moments with this example, feel 
> free to let me know. :)

you can try it with vpath, you need then for every architecture a
subdirectory where you include the main Makefile.



Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



reply via email to

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