CSC161 2011S Imperative Problem Solving
[Skip to Body]
Primary:
[Front Door]
[Schedule]
[Piazzza]
-
[Academic Honesty]
[Instructions]
Current:
[Current Outline]
[Current EBoard]
-
[Current Assignment]
[Current Lab]
[Current Reading]
Groupings:
[Assignments]
[Documents]
[EBoards]
[Examples]
[Exams]
[Handouts]
[Labs]
[Outlines]
[Readings]
[Reference]
Related Courses:
[CSC195 2003S (Rebelsky)]
[CSC161 2009F (Coahran)]
[CSC161 2010S (Walker)]
[CSC161 2010F (Rebelsky)]
Misc:
[SamR]
[ISO]
[GNU Coding Standards]
Back to Discussion of Exam 2. On to Strings.
This outline is also available in PDF.
Held: Tuesday, 5 April 2011
Summary:
We consider more details of make, a useful tool for
automating lots of stuff.
Related Pages:
Notes:
Overview:
targets
default: The default thing or things to build (e.g.,
the application or library)
test or check: Instructions for testing the
main thing. (Generally predicated on building default
first.)
install: Install the things we've just built.
clean: Remove intermediate files (such as .o files).
distclean: Remove everything but the source files.
package: Put everything together into a tarball.
NAME = VALUES
$(CC)
$(COMPILE.c)
$@ - The target
$< - The first prereq
$? - Newer prereqs
$^ - All prereqs
$* - The stem of the target
.c, .o, and
.h.
.a - an archive/library
.s - assembly code
.sh - a shell script (collection of shell commands)
.l - Lex/Flex source code
.so - a shared object (like a DLL)
Back to Discussion of Exam 2. On to Strings.
[Skip to Body]
Primary:
[Front Door]
[Schedule]
[Piazzza]
-
[Academic Honesty]
[Instructions]
Current:
[Current Outline]
[Current EBoard]
-
[Current Assignment]
[Current Lab]
[Current Reading]
Groupings:
[Assignments]
[Documents]
[EBoards]
[Examples]
[Exams]
[Handouts]
[Labs]
[Outlines]
[Readings]
[Reference]
Related Courses:
[CSC195 2003S (Rebelsky)]
[CSC161 2009F (Coahran)]
[CSC161 2010S (Walker)]
[CSC161 2010F (Rebelsky)]
Misc:
[SamR]
[ISO]
[GNU Coding Standards]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Tue May 10 10:34:33 2011.
The source to the document was last modified on Wed Jan 5 12:52:15 2011.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CSC161/2011S/Outlines/outline.34.html.