# simple makefile for nlockmgr exploit.. too lazy to make it fancy..
all:
	@echo -n "Compiling shellcode.c into shellcode.o..."
	@gcc -ggdb -c shellcode.c
	@echo "..done."
	@echo -n "Compiling nlm-of.c and shellcode.o into nlm-of..."
	@gcc -ggdb -o nlm-of nlm-of.c shellcode.o -lnsl -lrpcsvc
	@echo "..done."
	@echo "Have fun.  (by Senor Pato <senorp@pulsar.net>)"

clean:
	@echo Cleaning up..
	@rm -f nlm-of shellcode.o
