#
#KERNINC = -I/export/home/is/linux/sds/include 
KERNINC = -I/usr/src/linux-2.4.2/include
KERNDEFS = -D__KERNEL__ -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D__SMP__ 
CFLAGS = $(KERNDEFS) $(KERNINC) -Wall -Wstrict-prototypes -O2 \
	-fomit-frame-pointer -fno-strength-reduce -DCPU=686

OBJS = short.o

all: $(OBJS)

skull.o: skull_init.o skull_clean.o
	$(LD) -r $^ -o $@

install:
	mkdir -p /lib/modules/$(VER)/misc /lib/modules/misc
	install -c short.o /lib/modules/$(VER)/misc
	install -c short.o /lib/modules/misc

clean:
	rm -f *.o *~ core
