# BuildSystemHeader added automatically
# $Header: [Makefile,v 1.1 91/05/03 03:24:45 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   =  -lX11
LIBS   = $(PEXLIB) $(XLIB) -lm

CC     = cc
DEPEND = makedepend

.SUFFIXES: .c .o

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

all: test_ortho_view_clip test_per_view_clip 

test_ortho_view_clip: test_ortho_view_clip.o $(PEXLIB) 
	$(CC) $(CFLAGS) -o test_ortho_view_clip test_ortho_view_clip.o $(LIBS)

test_per_view_clip: test_per_view_clip.o $(PEXLIB) 
	$(CC) $(CFLAGS) -o test_per_view_clip test_per_view_clip.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.
