This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Can Makefiles be used?
- From: Vaibhav Kaushal <vaibhavkaushal123 at gmail dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 03 Jan 2011 20:29:43 +0530
- Subject: Can Makefiles be used?
My question is mainly related to the process of linking object files
automatically using a 'Makefile'.
I know that makefiles can be used to compile a source tree with options
at each source level. The problem is that
* I dont know how to create / change them manually. The ./configure has
been working for me till now.
* I have the object files (the .o files). I have made changes to a small
project and tried to use the functions in those .o files (according to
the API Docs).
* I do not have the course of the object files.
Under these circumstances, Is it possible to change the makefile so that
GCC will link to the functions in those object files automatically when
compiling?
- Vaibhav