# Uncomment the following line (remove #) if module versions are being used
#VERSIONS=-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h

# Uncomment the following line if 2.1.x is being used
#KERNVERSION=-DLINUX2_1

esp.o: esp.c esp.h
	gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes \
	-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 \
	-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 \
	-DMODULE $(VERSIONS) $(KERNVERSION) -c esp.c

install: esp.o
	cp esp.o /lib/modules/misc
