CFLAGS=-Wall
repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o
	g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o

repeater.o: repeater.cpp
	g++ $(CFLAGS) -c repeater.cpp

repeaterproc.o: repeaterproc.cpp
	g++ $(CFLAGS) -c repeaterproc.cpp

openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
	g++ $(CFLAGS) -c openbsd_stringfuncs.cpp

clean:
	rm -f *.o repeater
