Recitation_04-Makefiles

Recitation_04-Makefiles - 18 Building Complex Programs...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
10/4/11 1 1 CSE 421/521 - Operating Systems Fall 2011 Recitations Presented by TA University at Buffalo October 4-7, 2011 Recitation - IV Building Complex Programs with Makefiles Prof. Tevfik Kosar 2 Splitting C Programs into Multiple Files
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10/4/11 2 3 Modular C Programming 4 Definition vs Declaration
Background image of page 2
10/4/11 3 5 Calling an External Function 6 Using an External Variable
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10/4/11 4 7 Using Header Files 8 Example
Background image of page 4
10/4/11 5 9 Example 10 message.h
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10/4/11 6 11 message.c 12 network.h
Background image of page 6
10/4/11 7 13 network.c 14 main.h
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10/4/11 8 15 main.c 16 Compiling it All Together
Background image of page 8
10/4/11 9 17 Compiling it All Together
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 18 Building Complex Programs 10/4/11 10 19 Using make 20 Using make 10/4/11 11 21 Using make to re-compile a program 22 Generating Dependencies 10/4/11 12 23 Implicit Rules 24 Using Variables in Makefiles 10/4/11 13 25 Acknowledgments Advanced Programming in the Unix Environment by R. Stevens The C Programming Language by B. Kernighan and D. Ritchie Understanding Unix/Linux Programming by B. Molay Lecture notes from B. Molay (Harvard), T. Kuo (UT-Austin), G. Pierre (Vrije), M. Matthews (SC), B. Knicki (WPI), M. Shacklette (UChicago), and J.Kim (KAIST)....
View Full Document

Page1 / 13

Recitation_04-Makefiles - 18 Building Complex Programs...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online