##ifndef LINT
#char COPYRIGHT[]="\
#  COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
#  This program is copyright 1989 Nils McCarthy. This
#  program may be distributed if it is impossible for
#  the distributor to get a more up-to-date-version of
#  it. \n\
#  COPYRIGHT --- COPYRIGHT --- COPYRIGHT --- COPYRIGHT \n\
#  ";
#char AUTHOR[]="Copyright 1989 Nils McCarthy";
##endif /* LINT */
# START OF MAKEFILE
BINDIR=/usr/local/bin
MANDIR=/usr/man/man6
OBJS= init.o redraw.o main.o command.o help.o keymap.o fill.o
SRCS= init.c redraw.c main.c command.c help.c keymap.c fill.c
CFLAGS=-O
LIBS= -lcurses # -ltermcap -lcdb

everything:
	more README
	make install

oi: over
	make install
over: clean
	make all

clean:
	rm -f $(OBJS) unidraw

all: unidraw

unidraw: $(OBJS)
	cc -o unidraw $(OBJS) $(LIBS)

$(OBJS) : unidraw.h

install: unidraw
	install unidraw $(BINDIR)
	install -c unidraw.6 $(MANDIR)
