head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	96.08.07.00.41.01;	author chris;	state Exp;
branches;
next	1.4;

1.4
date	95.11.12.00.05.52;	author chris;	state Exp;
branches;
next	1.3;

1.3
date	95.10.02.01.37.04;	author chris;	state Exp;
branches;
next	1.2;

1.2
date	95.10.01.20.53.59;	author chris;	state Exp;
branches;
next	1.1;

1.1
date	95.10.01.18.53.17;	author chris;	state Exp;
branches;
next	;


desc
@Makefile for Newsflash
@


1.5
log
@version number increased
@
text
@# $Id: Makefile,v 1.4 1995/11/12 00:05:52 chris Exp chris $

# $Log: Makefile,v $
# Revision 1.4  1995/11/12  00:05:52  chris
# *** empty log message ***
#
# Revision 1.3  1995/10/02  01:37:04  chris
# *** empty log message ***
#
# Revision 1.2  1995/10/01  20:53:59  chris
# Added printdate target
#
# Revision 1.1  1995/10/01  18:53:17  chris
# Initial revision
#

CC=gcc
OFLAGS= -O2 #-Wall #-DDEBUG #-DSCUMOS

# Which version of Newsflash is this?
VERSION="0.99"
DATE="07 Aug 96"

DEFINES= -DVERSION=\"$(VERSION)\" -DDATE=\"$(DATE)\"

# where to install the binary?
BINPATH=/usr/local/bin

# add any compile flags needed here
CFLAGS= $(OFLAGS) $(DEFINES)
LFLAGS=

# any libs needed?
LIBS= 

OBJS= tcp.o nntp.o newsflash.o spool.o
SRCS= tcp.c nntp.c newsflash.c spool.c

#######################################################

all:	newsflash printdate

newsflash: $(OBJS)
	$(CC) $(LFLAGS) $(OBJS) -o $@@ $(LIBS)

printdate: printdate.c
	$(CC) $(LFLAGS) printdate.c -o $@@ $(LIBS)

clean:
	-rm .depend *.o core newsflash printdate

dep:
	$(CC) -M $(SRCS) >.depend

install:
	strip newsflash
	cp -f newsflash $(BINPATH)

ifeq (.depend,$(wildcard .depend))
include .depend
endif
# THIS LINE IS REQUIRED BY SCUMOS'S BRAINDEAD MAKE.
@


1.4
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1995/10/02 01:37:04 chris Exp chris $
d4 3
d21 2
a22 2
VERSION="0.98"
DATE="12 Nov 95"
@


1.3
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1995/10/01 20:53:59 chris Exp chris $
d4 3
d18 2
a19 2
VERSION="0.97"
DATE="02 Oct 95"
@


1.2
log
@Added printdate target
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1995/10/01 18:53:17 chris Exp chris $
d4 3
d15 2
a16 2
VERSION="0.96"
DATE="01 Oct 95"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id$
d3 4
a6 1
# $Log$
d9 1
a9 1
OFLAGS= -O2 -Wall #-DDEBUG #-DSCUMOS
d12 2
a13 2
VERSION="0.95"
DATE="27 Aug 95"
d32 1
a32 1
all:	newsflash
d37 3
d41 1
a41 1
	-rm .depend *.o core newsflash
@
