PREFIX=	/usr/local
BINDIR=	$(PREFIX)/sbin

CC=	gcc
CFLAGS=	-g -O2

all:	switchd

install:	switchd
		install -s -o root -m 0755 switchd $(BINDIR)

clean:
		rm -f switchd switchd.o

switchd:	switchd.o

swtichd.o:	switchd.c
