[clug] linking makefiles

deepshikha deepshikha9 at gmail.com
Wed Jul 13 09:18:43 GMT 2005


hello,
 i am having a problem compiling a C code. i have two directories and each 
one has a separate Makefile.
a program(file.c) in directory 'B' needs to access a function which belongs 
to a file(i2c.c, i2c.h) in directory 'A'. 
 how do i link the two files. will i have to make a new makefile?
 will appreciate any kind of help.
 thanks


More information about the linux mailing list