dependencies for sources in sub dirs.

John Love-Jensen eljay@adobe.com
Thu Nov 10 12:42:00 GMT 2005


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



More information about the Gcc-help mailing list