This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: dependencies for sources in sub dirs.
- From: John Love-Jensen <eljay at adobe dot com>
- To: Tobias Grimm <listaccount at e-tobi dot net>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Thu, 10 Nov 2005 06:41:53 -0600
- Subject: Re: dependencies for sources in sub dirs.
Hi Tobias,
Try this experiment:
mkdir src
vi src/Foo.c
(put in something simple: int foo() { return 3; } )
gcc -c src/Foo.c
Does the Foo.o end up in your current working directory, or in src/Foo.o?
HTH,
--Eljay