/* ymakefile - unprocessed makefile for the GNU Send package.
   Copyright (C) 1988 Free Software Foundation, Inc.

This file is part of GNU Send.

GNU Send is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY.  No author or distributor
accepts responsibility to anyone for the consequences of using it
or for whether it serves any particular purpose or works at all,
unless he says so in writing.  Refer to the GNU Send General Public
License for full details.

Everyone is granted permission to copy, modify and redistribute
GNU Send, but only under the conditions described in the
GNU Send General Public License.   A copy of this license is
supposed to have been given to you along with GNU Send so you
can know your rights and responsibilities.  It should be in a
file named COPYING.  Among other things, the copyright notice
and this notice must be preserved on all copies.  */

/*
** Author:	Keith Gabryelski	(ag@wheaties.ai.mit.edu)
*/

#include "config.h"

SHELL=/bin/sh
CFLAGS=-O
CC=cc
LIBS=-lnsl -lsocket
LINK=ln

all: send prsends mesg

send:	send.o rots.o message.o gets.o memory.o error.o
	$(CC) $(CFLAGS) send.o rots.o message.o gets.o memory.o error.o $(LIBS) -o send

prsends:	prsends.o gets.o memory.o error.o
	$(CC) $(CFLAGS) prsends.o gets.o memory.o error.o $(LIBS) -o prsends

mesg:	mesg.o memory.o error.o
	$(CC) $(CFLAGS) mesg.o memory.o error.o $(LIBS) -o mesg

send.o: send.c send.h config.h
prsends.o:	prsends.c send.h config.h
rots.o:	rots.c send.h config.h
gets.o:	gets.c send.h config.h
memory.o:	memory.c send.h config.h
error.o:	error.c send.h config.h
mesg.o:	mesg.c config.h
message.o: message.c send.h config.h
