# Makefile for quote
#
# Heiji Horde (horde@reed.edu)
# Reed College
#
# Copyright (c) 1993, Heiji Horde (horde@reed.edu)
#
# Permission is granted to copy and distribute this file in modified
# or unmodified form, for noncommercial use, provided (a) this copyright
# notice is preserved, (b) no attempt is made to restrict redistribution
# of this file, and (c) this file is not distributed as part of any
# collection whose redistribution is restricted by a compilation copyright.

CC	= cc

BINDIR	= /usr/games
LIBDIR	= $(BINDIR)/lib
TREKDIR	= $(LIBDIR)/quote

MANDIR = /local/man

CFLAGS = -O

SRC = quote.c
OBJ = quote.o

MAN_SRC = trekquote.6

PROG = quote

all: $(PROG)

$(PROG): $(OBJ)
	$(CC) $(CFLAGS) -o $(PROG) $(OBJ)

clean:
	rm -f $(OBJ) $(PROG)

# install: all
# 	install -c -o root -m 755 $(PROG) $(INSTALL_DIR)/$(PROG)
# 	install -c -m 444 $(PROG).8 $(MAN_DIR)/man8/$(PROG).8
