LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Mark Phillips <mark@austrics.com.au>
To : <linuxsa@linuxsa.org.au>
Date: Tue, 26 Jun 2001 11:24:55 +0930
"make" with soft link dependencies - how?
I am writing in C++. I want to create a
directory called "modules" and inside put symbolic
links to ".h" and ".o" files I have created and tested
elsewhere on the filesystem. The idea is that when
working on my latest project, I can link in stuff
that I have done earlier by simply getting the
makefile etc to refer to files in the "modules"
directory.
This is fine except that there will be times when I
will modify the stuff I've done earlier. If the
makefile of the latest project used dependencies
based on the _actual_ files of the earlier stuff, then
modifying them would force a recompile of the
latest stuff. But if the dependencies refer to
symbolic links to the earlier stuff instead, changes
will not affect the date stamp of the links, and hence
the latest stuff will not be recompiled as it should.
What is the best solution to this problem?
Thanks,
Mark.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page