# Makefile for PCL under Coherent 386 (Version >= 4.0.1).

SRC=.
CFLAGS=-I$(SRC)
# CFLAGS=-I$(SRC) -DHDB
LDFLAGS=-lcurses

OBJS=\
	buf.o\
	dir-io.o\
	find.o\
	help.o\
	input.o\
	pclist.o\
	screen.o

# Primary Target.
pcl:	$(OBJS)
	$(CC) -o pcl $(OBJS) $(LDFLAGS)
	ls -l pcl
	strip pcl
	ls -l pcl

clean:
	rm $(OBJS)

buf.o:		$(SRC)/buf.c 		$(SRC)/pclist.h
dir-io.o:	$(SRC)/dir-io.c
find.o:		$(SRC)/find.c 		$(SRC)/pclist.h
help.o:		$(SRC)/help.c 		$(SRC)/pclist.h
input.o:		$(SRC)/input.c 	$(SRC)/pclist.h
screen.o:	$(SRC)/screen.c	$(SRC)/pclist.h
pclist.o:	$(SRC)/pclist.c	$(SRC)/pclist.h
