Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a basic questions as to if some Makefile includes a Generally what commands/configurations/rules go into the ?

Any pointers would be useful.

thank you.


share|improve this question
up vote 2 down vote accepted

It depends. I've seen a makefile include <system>.inc files for system specific settings. Before you compile, you need to make sure that the correct .inc is used for the system that you are on.

It is also common to have project settings in .inc files, when there are multiple sub-makefiles for a project (one per directory).

It is also used to share common makefile code across different projects.

share|improve this answer

This depends on the programmer who wrote this make file.

Normally, a file contains a common set of definitions and macros that are used across more than one installation. This way, they are more easily and centrally maintained.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .