# Makefile for 6pack.o driver module version 0.2.0

CPUFLAGS=-m386 -DCPU=386  #  for 386
#CPUFLAGS=-m486 -DCPU=486  #  for 486
#CPUFLAGS=-m486 -DCPU=586   #  for pentium

all: 6pack.o

6pack.o: 6pack.c 6pack.h
	gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes \
	-O2 -fomit-frame-pointer -fno-strength-reduce -pipe $(CPUFLAGS) \
	-DMODULE -c 6pack.c -o 6pack.o

clean:
	rm -f 6pack.o core *~
