CC=cc
OPS=-g
LINT=lint
LOPS=

all:	exam01.02 exam01.04 exam01.05 prog01.01

exam01.02: exam01.02.c
	$(CC) $(OPS) -o exam01.02 exam01.02.c

lint.exam01.02: exam01.02.c
	$(LINT) exam01.02.c

exam01.04: exam01.04.c
	$(CC) $(OPS) -o exam01.04 exam01.04.c

lint.exam01.04: exam01.04.c
	$(LINT) exam01.04.c

exam01.05: exam01.05.c
	$(CC) $(OPS) -o exam01.05 exam01.05.c

lint.exam01.05: exam01.05.c
	$(LINT) exam01.05.c

prog01.01:    prog01.01.c makeargv.c
	$(CC) $(OPS) -o prog01.01 prog01.01.c makeargv.c

lint.prog01.01:   prog01.01.c
	$(LINT) $(LOPS) prog01.01.c makeargv.c

clean:
	rm -f core *.o
	rm -f prog01.01 argvtest2.o exam01.02
	rm -f exam01.04 opentest3 exam01.05
