#
# Please see copyright and contact information in qsniff.c
#

#
# this has to be the simplest makefile I've ever written.
#

CFLAGS=-O2
BINDIR=/usr/local/bin
VER=0.3

all: qsniff

qsniff: qsniff.c

clean:
	rm -f qsniff

realclean:
	rm -f qsniff DEADJOE core *.o *~

install:
	install --owner=root --group=root --mode=0711 --strip qsniff $(BINDIR)/qsniff

dist:
	rm -f qsniff-$(VER).tar.gz
	cd .. ;	tar zcvf qsniff/qsniff-$(VER).tar.gz qsniff/qsniff.c qsniff/Makefile qsniff/README qsniff/COPYING
