Skip to content

Commit bd3b279

Browse files
Make sure 'make' can work after 'make clean'.
Introduce 'distclean' target to remove files generated by configure, and let 'clean' target only remove files generated by 'make'.
1 parent 8be403b commit bd3b279

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,8 @@ inclean:
507507
$(RM) $(INFILES)
508508
headersclean:
509509
$(RM) $(HEADERS)
510-
clean: docclean pythonclean cscopeclean inclean headersclean
510+
clean: docclean pythonclean cscopeclean headersclean
511+
distclean: inclean
511512

512513
# This is the gateway into the crazy world of "kbuild", the linux 2.6 system
513514
# for building kernel modules. Other kernel module build styles need to be

0 commit comments

Comments
 (0)