Writing An Empty Module (Cont.) The former script would require something such as the following Makefile: ifeq "$(KERNEL_DIR)" "" KERNEL_DIR=/usr/src/linux endif all: @echo @echo "use the './comp' script to compile this module" @echo MI_OBJS += empty_module.o include $(KERNEL_DIR)/Rules.make clean: $(RM) *.o