1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
#
# 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
|