all : bin

PROG=lwr

terror.o : terror.c terror.h
	gcc -O2 -c terror.c

$(PROG).o : $(PROG).c terror.h 
	gcc -O2 -c $(PROG).c

$(PROG) : $(PROG).o terror.o
	gcc -s -o $(PROG) $(PROG).o terror.o

install :
	mv lwr /usr/bin/
	mv lwr.1 /usr/man/man1/
	rm *.o

bin : $(PROG) 

