# Generated automatically from Makefile.in by configure.
#
# Makefile.in for ircd/src
#
# $Id: Makefile,v 1.4 2000/04/18 21:06:43 sycrash Exp $
#
CC = gcc
RM = /bin/rm
MV = /bin/mv
MKDEP = ${CC} -MM

INCLUDES =-I../include
CPPFLAGS = ${INCLUDES} 
#LDFLAGS = -Wimplicit-function-declaration 
#
# For developers
#CFLAGS= -Wstrict-prototypes -Wnested-externs -pedantic 
#

SRCS = \
	Bitson.c \
	Slash.c \
	Fresh.c \
	Ufie.c \
	Ltoday.c \
	Pstorm.c \
	Seg.c\
	Gnews.c\
	Bebits.c\
	L2k.c\
	Rdf.c\
	Secfocus.c\
	get.c\
	parser.c\
	repstr.c\
	yanf.c

OBJS = ${SRCS:.c=.o}

all: yanf

build: all

yanf: ${OBJS}
	${CC} ${LDFLAGS} -o $@ ${OBJS}
	${MV} yanf ../bin/yanf

install: build
	@echo "Please do a make install from the top level directory"

# this is really the default rule for c files
.c.o:
	${CC} ${CPPFLAGS} ${CFLAGS} -c $<

.PHONY: depend clean
depend:
	${MKDEP} ${CPPFLAGS} ${SRCS} > .depend

clean:
	${RM} -f *.o *~ yanf.core core yanf ../bin/yanf

include .depend
