Changes

Jump to: navigation, search

Make and Makefiles

1 byte added, 11:14, 10 September 2012
Targets and Dependencies: fix a typo
Picture a very simple build, where the file <code>test.c</code> is compiled by ''gcc'' into the executable binary named <code>test</code>.
test.c -> compiled by the command 'gcctestgcc test.c -o test' -> test
The binary executable product file, <code>test</code>, is considered the ''target'' -- the object to be built. The file <code>test.c</code> is a dependency - a file that is required in order to produce the target. ''gcc'' is the command that builds the target from the dependency.
1,760
edits

Navigation menu