# Makefile for modremove
# I'm not even sure this thing is worthy of a Makefile
# But hey...Some people are lazy....

CC=gcc
CFLAGS=-O2
INSTALL_DIR=/sbin/
INSTALL=install
default:
	$(CC) $(CFLAGS) -o modremove modremove.c
	@echo "Remember to do a make install"
install:
	$(INSTALL) -s -o root -m 0744 modremove $(INSTALL_DIR)modremove
clean:
	rm -rf modremove *~ core *.o