GitXplorerGitXplorer
m

makefiles

public
1 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
f7468859708fdc8bfc3e4eec4a5d42c5d09f6cd7

Initial Commit.

committed 10 years ago
Unverified
c1e49e93e41c5adc76ab508f2e922c89b60f9639

Initial commit

mmzlee committed 10 years ago

README

The README file for this repository.

Makefiles: A light introduction

These folders contain various examples of Makefiles and different syntax to accomplish the same task. They're broken down as follows:

  • Part0: This is the plain source that we're trying to compile. It consists of a simple program (test.c) with a single dependant object (util.c) and a globally include header (util.h)

  • Part1: This is the same source with a simple, very explicit Makefile. Every rule is defined and nothing should happen implicitly except the dependency generation.

  • Part2: This is the same source with two key differences: a lot of the references have been replaced with variables and the object compilation is now implicitly parsed.

  • Part3: This is the same source but now make figures out all of the dependencies and how to build the project.