#
# xgraph - program to graphically display numerical data
#
# David Harrison
# University of California, Berkeley
# 1989
#
# Copyright (c) 1988, 1989, Regents of the University of California.
# All rights reserved.
#
# Use and copying of this software and preparation of derivative works
# based upon this software are permitted.  However, any distribution of
# this software or derivative works must include the above copyright
# notice.
#
# This software is made available AS IS, and neither the Electronics
# Research Laboratory or the University of California make any
# warranty about the software, its performance or its conformity to
# any specification.
#
# Suggestions, comments, or improvements are welcome and should be
# addressed to:
#
#   davidh@ic.Berkeley.EDU
#   ..!ucbvax!ic!davidh
#

CLEVEL	= -O
CFLAGS	= $(CLEVEL)
CC	= cc

SRC	= xgraph.c xgX.c hard_devices.c dialog.c hpgl.c ps.c idraw.c xtb.c \
	  st.c params.c
OBJ	= xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o \
	  st.o params.o

LIBS	= -lX11 -lm
LLIBS	= /users/davidh/src/x11/llib-lX11.ln

TARGET	= xgraph

#--------

$(TARGET):	$(OBJ)
		$(CC) $(CFLAGS) -o $(TARGET) $(OBJ) $(LIBS)

clean:
		rm -f $(OBJ) $(TARGET) lint #* *~ 

lint:		$(SRC)
		lint $(CFLAGS) $(SRC) $(LLIBS) | tee lint



