Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6896707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:04:40+00:00 2026-05-27T07:04:40+00:00

When I edit one source file, does running make recompile that file plus all

  • 0

When I edit one source file, does running make recompile that file plus all files for which that one is a dependency? If so, why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:04:40+00:00Added an answer on May 27, 2026 at 7:04 am

    Why?
    Because that is the whole purpose of having an Make file.
    If a particular source file is modified then all dependant files should be recompiled with the modified file so that all of the dependant files refer the same source and the entire code base is in sync.

    How?
    make utility checks timestamps to check which files were modified.When an make file is created One needs to specify dependency rules which explicitly tell the utility which other files are dependant on particular file. So using these rules Make compiles all dependent files as well, So that the binaries generated refer the same updated code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any external library using which one can edit and save XML files
EDIT I'm looking for the actual one or two liner that does what the
How does one setup DUnit Testing in a Midas/DataSnap project in Delphi 2006 Edit
On one of my packages, which was adapted from another using Save-As and edit,
how does one use code to do this: produce 15 random numbers [EDIT: from
I have a many-to-one relationship that users can edit via checkboxes. PK of Foo
I have two projects within one solution. Both projects contain some files that are
[edit] So I used one of the javascript tooltips suggested below. I got the
EDIT: For the inner queries, there could be more than one match per inner
I have some filter and one grid.And grid have some buttons like modify/edit.I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.