I have an Linux open-source and I have to edit a source in the project. My problem is that after the change I do not know how to recompile the project. I have a makefile but when I run it I see the following message: "nothing to do for all"?
Printable View
I have an Linux open-source and I have to edit a source in the project. My problem is that after the change I do not know how to recompile the project. I have a makefile but when I run it I see the following message: "nothing to do for all"?
Try
ThenCode:make clean
for configuration optionsCode:./configure - help
Code:./configure # + configuration options
make
make install
I think I misstated my problem ...
My program is in several source quote, I do not want to recompile the whole program but only one source that calls to other sources
Example: the project consists of (main.c, source1.c source2.c, ... etc). I want to compile and run only source2.c since it depends on other sources in the project.
Sorry if I did not explain the problem
Normally if you simply change a source file and you do make it should help.
It will generate .o of .c, which then changed the link again to get the program
- Did you tried to rebuild the binary recompiling sources before making the modification?
- The program is multi-platform?