# BuildSystemHeader added automatically
# $Header: [Makefile,v 1.1 91/05/03 03:06:05 afuller Exp ]$
TOP = /tmloc/work

CFLAGS = -g -DMPEX
INCS   = -I. -I/usr/include \
	-I${TOP}/X11 \
	-I${TOP}/lib/X \
	-I${TOP}/extensions/lib/pex \
	-I${TOP}/extensions/include/pex

PEXLIB = /tmloc/work/extensions/lib/pex/libpex.a
XLIB   = /tmloc/work/lib/X/libX11.a 
LIBS   = $(PEXLIB) $(XLIB) -lm

CC     = cc
DEPEND = makedepend

.SUFFIXES: .c .o

.c.o:
	$(CC) -c $(CFLAGS) $(INCS) $*.c

all: plt_lut 

plt_lut: plt_lut.o pexerror.o $(PEXLIB) 
	$(CC) $(CFLAGS) -o plt_lut plt_lut.o pexerror.o $(LIBS)

lint:
	lint $(INCS) $(SRCS) > lint-errs

clean:
	rm -f *.o *~  *.obj *bak

help:
	@more README

depend:
	$(DEPEND) $(INCS) $(CFLAGS) $(SRCS)
	
# DO NOT DELETE THIS LINE -- make depend depends on it.
