#
#  Makefile for lf
#
#  If you move this makefile, update the variable below
#  or else depend won't work.

MAKEFILE	= Makefile

CFILES		= lf.cc entry.cc screen.cc option.cc \
                  directory.cc sort.cc Dirent.cc
HFILES		= entry.h screen.h option.h \
                  directory.h Dirent.h
OFILES		= lf.o entry.o screen.o option.o \
                  directory.o sort.o Dirent.o
PROGRAM		= lf
DEPEND_SOURCES	= $(srcdir)/*.cc

#### package, host, target, and site dependent Makefile fragments come in here.
##

$(PROGRAM): $(OFILES)
	$(CXX) $(OFILES) -o $(PROGRAM) $(LIBS) -ltermcap

check: lf
	@true
# lf dies on Irix.  Perhaps incompatible directory routines?
#	./lf

run_tests: check
