#$Id: Makefile,v 1.1.1.1 2000/08/25 14:20:33 deardragon Exp $

CC        = gcc
BBSSRC    = ../../src
INCLUDE   = -I../../include

mCFLAGS   = $(CFLAGS) ${INCLUDE}

all: gopherd

install: gopherd
	cp gopherd $(BBSHOME)/bin
	chown root:bbs $(BBSHOME)/bin/gopherd
	chmod u+s $(BBSHOME)/bin/gopherd

clean:
	rm -fr *.o *.BAK *.log *~ gopherd

gopherd: gopherd.c
	$(CC) $(mCFLAGS) -o gopherd gopherd.c
