CFILES = connexe.c \
	convert.c \
	extrema.c \
	iopnm.c \
	recbuffer.c \
	recline.c \
	test-edges.c \
	test-edges-pnm.c \
	test-hyster-pnm.c

COBJS = connexe.o \
	convert.o \
	extrema.o \
	iopnm.o \
	recbuffer.o \
	recline.o  \
	zcross.o 

EOBJS = test-edges.o \
	test-edges-pnm.o \
	test-hyster-pnm.o

.c.o:; cc -O -I. -c $*.c;

all : clean test-edges test-edges-pnm test-hyster-pnm

clean :
	rm -f $(COBJS) $(EOBJS) test-edges test-edges-pnm test-hyster-pnm

test-edges : $(EOBJS) $(COBJS)
	cc -O -I. -o test-edges test-edges.o $(COBJS) -lm

test-edges-pnm : $(EOBJS) $(COBJS)
	cc -O -I. -o test-edges-pnm test-edges-pnm.o $(COBJS) -lm

test-hyster-pnm : $(EOBJS) $(COBJS)
	cc -O -I. -o test-hyster-pnm test-hyster-pnm.o $(COBJS) -lm


syntax highlighted by Code2HTML, v. 0.9.1