jacob navia wrote:
JS wrote:
I have two Makefiles in two different directories. How do I know
which of these Makefiles make will use and is there some way to
specify which Makefile that should be run.
You can give an argument to make like
make -f /usr/project1/subsystem1/Makefile
Most make utilities use that "-f" switch.
Besides which you can simply switch to the directory containing the
makefile you want. Make will normally use the makefile present in
the default directory.
At any rate this is OT in c.l.c because the action of make is
system specific, and has nothing to do with the language itself.
The OP should move to a newsgroup that deals with his actual
system.
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson