Results 1 to 3 of 3
Hi,
I am compiling c files using gcc. When I compile few files I use
gcc filename.c
But there a large number of files and I need a file list.How ...
- 03-05-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
how to compile a filelist
Hi,
I am compiling c files using gcc. When I compile few files I use
gcc filename.c
But there a large number of files and I need a file list.How to compile filelist using gcc?
Supra
- 03-05-2009 #2
Then you could make a makefile. I don't know exactly how to do that, but here in the Netherlands we often say:
Google is your friend.
- 03-05-2009 #3Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Yep, learn how to use make and Makefiles. That will not only let you compile the whole list, but it will also be able to compile only what needs to be compiled, depending on what source files were changed since the last compilation.


Reply With Quote