Results 1 to 4 of 4

Thread: Compile a project after modification

  1. #1
    Join Date
    Feb 2008
    Posts
    324

    Compile a project after modification

    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"?

  2. #2
    Join Date
    May 2008
    Posts
    271

    Re: Compile a project after modification

    Try

    Code:
    make clean
    Then

    Code:
    ./configure - help
    for configuration options

    Code:
    ./configure # + configuration options 
    make 
    make install

  3. #3
    Join Date
    Feb 2008
    Posts
    324

    Re: Compile a project after modification

    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

  4. #4
    Join Date
    May 2008
    Posts
    685

    Re: Compile a project after modification

    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?

Similar Threads

  1. Co-op connection modification in Orcs Must Die 2
    By zidane in forum Video Games
    Replies: 5
    Last Post: 03-09-2012, 06:36 PM
  2. Replies: 4
    Last Post: 20-04-2012, 11:22 PM
  3. Modification of an element of the register
    By halutz in forum Windows Software
    Replies: 3
    Last Post: 29-01-2009, 11:38 PM
  4. After modification, no screen
    By gazwsx in forum Overclocking & Computer Modification
    Replies: 2
    Last Post: 10-10-2008, 03:48 PM
  5. Bike Modification in Mumbai
    By Spencer in forum Off Topic Chat
    Replies: 3
    Last Post: 17-09-2008, 02:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,367,900.87189 seconds with 16 queries