From: Michal Sojka Date: Fri, 16 Jan 2009 11:18:59 +0000 (+0100) Subject: Updated Makefile to support clean target X-Git-Url: https://rtime.felk.cvut.cz/gitweb/shark/motorek-5200.git/commitdiff_plain/0758eeb541dab56e215880bd5d225c3b8653ea46 Updated Makefile to support clean target --- diff --git a/Makefile b/Makefile index 7ba6fa2..3f24e9c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ else # Normal Makefile KERNELDIR := /lib/modules/`uname -r`/build -all:: +%: $(MAKE) -C $(KERNELDIR) M=`pwd` $@ endif