Re: dependencies for sources in sub dirs.

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

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux