diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,7 @@ endif # # objects that are part of hello module (hello.o) +#hello-objs += main.o debug.o hello-y += main.o debug.o # .ko module to be created @@ -27,5 +28,9 @@ all: kclean: make -C $(KERNELDIR) M=$(PWD) clean +# if above gives perm problem for normal user, try this +kcleanu: + make -C $(KERNELDIR) SUBDIRS=$(CURDIR) clean + clean: @rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions Module.symvers modules.order |