# Makefile for various fork examples

CC = gcc
LEX = flex
CFLAGS = -g

ex1: ex1.c
# Didn't even really need that one....

# Note that if the target is "ex2" and there is a file "ex2.c",
# the "make" program will by default assume that ex2 depends on ex2.c
# and it should use the command
# $(CC) $(CFLAGS) -o ex2 ex2.c
# I can set the variables CC and CFLAGS to whatever I want.

clean: 
	rm -f *.o ex1 ex2 ex3 ex4 ex5

