This change causes "make -C <dir> clean" to work. Also, use SUBDIRS=...

instead of M=... because of consistency with the rest of the Makefile.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-03-29 01:19:24 +00:00
parent e4fb5201e9
commit 0339bb8905
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ uninstall:
endif
clean:
@$(MAKE) -C $(KDIR) M=$(PWD) clean
@$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) clean
@$(RM) tags Modules.symvers module.symvers Module.markers modules.order
extraclean: clean

View File

@@ -75,7 +75,7 @@ uninstall:
endif
clean:
@$(MAKE) -C $(KDIR) M=$(PWD) clean
@$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) clean
@$(RM) tags Modules.symvers module.symvers Module.markers modules.order
extraclean: clean