# Makefile for NN version of mini inews.
#
# $RCSfile: Makefile,v $	$Revision: 1.3 $
#
# $Author: news $	$Date: 89/12/21 17:59:52 $
#
# $State: Exp $	$Locker:  $
#
# $Log:	Makefile,v $
# Revision 1.3  89/12/21  17:59:52  news
# Added kit processing, cleanups.
#
# Modified for OS/2 on 9/11/94 by Claudio Fahey (claudio@uclink.berkeley.edu)
#      Note: Requires tcpip.a library.  Create this with MakeTCPIP.cmd.
#

TARGET	= gigomail.exe
CC	= gcc
# General definitions here which apply to all -- form -DDEF
DEFS	= -DNOFDOPEN
# Link libraries -- form -lLIB
LIBS	= -lsocket
# Lint definitions -- same as DEFS, but form -D DEF
LDEFS	= -D lint -D FOR_NN
# Lint libraries -- same as LIBS, but form -l LIB
LLIBS	=
# Set to -g for debugging, -O for optimise, or both if compiler handles it
DEBUG	= -O2
CFLAGS	= $(DEBUG) $(DEFS)

SRCS	= send.c clientlib.c version.c sockstream.c
OBJS	= send.o clientlib.o version.o sockstream.o
CLUDES	= clientlib.h conf.h nntp.h sockstream.h
KIT	= Makefile README README.NN $(SRCS) $(CLUDES)

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

$(OBJS):	$(CLUDES)

all:	$(TARGET)

