# Note: It is important to make sure you include the makefile after declaring the KMOD and SRCS variables. # Declare Name of kernel module KMOD = lapic_test # Enumerate Source files for kernel module SRCS = lapic_test.c # Include kernel module makefile # /usr/src/share/mk/bsd.kmod.mk .include # Not really necessary, 'make clean' will work fine realclean: clean rm -f @ machine *~ *core