Makefile Tutorial
for IS-2550 Client-Server
Intro
Makefiles are basically sophisticated shell scripts that automate the repetitive tasks of compiling/recompiling many inter-related files. This is especially relevant in IS-2550 as you will create many files that support your server and client and all of these will need to be included or linked with your client and server executable code.
As you create these many files, you will also need to modify the relevant Makefiles. It is always easier to modify that which you understand. This tutorial will help you understand the makefiles.
Goals of this Tutorial
- Explain what is a Makefile.
- Explain how a Makefile is built.
- Explain example Makefiles that are provided for your use in IS-2550.
- Provide you with opportunities to verify what you learn (interactive quizzes).
Created by S. M. Garver
for IS-2550, Spring 1998