# ͥΥĥ꡼
KERNELSRCDIR = /usr/src/linux
BUILD_DIR := $(shell pwd)
VERBOSE = 0

# ⥸塼̾
obj-m := smallmod.o

# <⥸塼̾>-objs ˥⥸塼륪֥Ȥΰ󤹤
smallmod-objs := small.o

all:
	make -C $(KERNELSRCDIR) SUBDIRS=$(BUILD_DIR) KBUILD_VERBOSE=$(VERBOSE) modules

clean:
	rm -f *.o
	rm -f *.ko
	rm -f *.mod.c
	rm -f *~
