Article View: gnu.gcc.help
Article #41862Probs with make and links
From: Roland Schregle
Date: Thu, 08 Feb 1996 00:00
Date: Thu, 08 Feb 1996 00:00
23 lines
1408 bytes
1408 bytes
I'm *trying* to get a project compiled with GCC 2.7.0 (I think) under Linux. Some of the files in the source directory are links (doesn't matter what kind), since I wanted to keep these in a separate directory, in which I update them regularly (hence the links for the sake of consistency). Anyway, on a first run, 'make' produces the automatic dependencies (yes, they ARE correct), compiles the sources in the source directory, and follows the links to compile the sources in the other directory. When I update one of the sources which a link points to, 'make' insists everything's up to date! Just to verify the dependencies, making a physical copy of the updated files into the source dir ellicits the eggs-pected behaviour (yep, it recompiles). Note this happens regardless of whether I use symbolic or hard links. (Didn't find any options for 'gcc' or 'make' to explicitly follow links, either). Is this yet another bug in 'make'??? GanjaTron!
Technical Details
Message-ID:
<4fda8p$5hk@apoll.informatik.uni-bonn.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,861474b4c0d96547,start X-Google-Attributes: gid11318c,public From: schregle@zeus.informatik.uni-bonn.de (Roland Schregle) Subject: Probs with make and links Date: 1996/02/08 Message-ID: <4fda8p$5hk@apoll.informatik.uni-bonn.de> X-Deja-AN: 138444527 organization: Universit"at Bonn, Informatik Abt. II, R"omerstr. 164, 53117 Bonn newsgroups: gnu.gcc.help