CC = gcc
PROG = tftpd
OBJS = tftpd.o tftpsubs.o
CFLAGS = -O2 -include /usr/include/bsd/bsd.h -I/usr/include/bsd -Dsin=x_sin
LDFLAGS = -s
LDLIBS = -lbsd

all: $(PROG)

$(PROG): $(OBJS)

install:
	cp tftpd $(BINROOTDIR)/usr/sbin
	cp tftpd.8 $(BINROOTDIR)/usr/man/man8

clean:
	rm -f *.o *~ core
	rm -f $(PROG)
