#################################################
# FILE: Makefile
#
# Author: Nathan Boeger and Mana Tominaga
#
# NOTES:
# This file is used to make all of the source
# code used in the book. To compile an
# individual chapter, cd into the chapters dir
# and then type make.
#
##############################################
DIRS = 03 04 05 06 07
all:
.for _d_ in ${DIRS}
cd ${_d_}; make
.endfor
clean:
.for _d_ in ${DIRS}
cd ${_d_}; make clean
.endfor
# SUFFIX RULES
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c ${.IMPSRC}
syntax highlighted by Code2HTML, v. 0.9