{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Recitation_04-Makefiles

Recitation_04-Makefiles - 18 Building Complex Programs 10...

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

View Full Document Right Arrow Icon
10/4/11 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
Image of page 1

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

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

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

View Full Document Right Arrow Icon
10/4/11 4 7 Using Header Files 8 Example
Image of page 4
10/4/11 5 9 Example 10 message.h
Image of page 5

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

View Full Document Right Arrow Icon
10/4/11 6 11 message.c 12 network.h
Image of page 6
10/4/11 7 13 network.c 14 main.h
Image of page 7

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

View Full Document Right Arrow Icon
10/4/11 8 15 main.c 16 Compiling it All Together
Image of page 8
10/4/11 9 17 Compiling it All Together
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
Image of page 11

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

View Full Document Right Arrow Icon
Image of page 12
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern