# Makefile for Computer Vision Project:  Line Detector
# Sharlee Climer
# December 2000


CC	= g++
CFLAGS 	= -g
TARGET	= findline
OBJS	= line.o linedet.o image.o timer.o

$(TARGET):	$(OBJS)
		$(CC) -o $(TARGET) $(OBJS)

line.o:		line.cpp linedet.h
		$(CC) $(CFLAGS) -c line.cpp

linedet.o:	linedet.cpp linedet.h
		$(CC) $(CFLAGS) -c linedet.cpp

image.o:	image.cpp linedet.h
		$(CC) $(CFLAGS) -c image.cpp

timer.o:	timer.cpp timer.h
		$(CC) $(CFLAGS) -c timer.cpp
clean:
		/bin/rm -f *.o $(TARGET)
