Updated `README.md` with instructions for building/using the kernel module.
[xeon-phi-kernel-module] / Makefile
index 8b7f605..72e91f3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -106,7 +106,10 @@ kdev_install:
        $(INSTALL_f) include/scif.h $(DESTDIR)$(kmodincludedir)
 
 clean:
        $(INSTALL_f) include/scif.h $(DESTDIR)$(kmodincludedir)
 
 clean:
-       @rm -f ./*/*.o ./*/.*.o
+       @rm -f ./*/*.o ./*/.*.o ./*/*/*.o ./*/*/.*.o
        @rm -f ./*/*.o.d ./*/.*.o.d ./*/*/.*.o.d
        @rm -f ./*/*.o.d ./*/.*.o.d ./*/*/.*.o.d
-       @rm -f ./*/*.o.cmd ./*/.*.o.cmd
-       @rm -f ./modules.order
+       @rm -f ./*/*.o.cmd ./*/.*.o.cmd ./*/*/.*.o.cmd
+       @rm -f ./.mic*o.cmd
+       @rm -f ./modules.order ./Module.symvers
+       @rm -rf ./.tmp_versions
+       @rm -f ./mic.mod.* ./mic.o ./mic.ko