Introduce pet-projects dir
[lcapit-junk-code.git] / linux-kernel / hello-world / Makefile
blob0bcfc1e590a644371fcf7193cebb4a119b27178f
1 obj-m := hello.o
2 PWD := $(shell pwd)
3 KVER := $(shell uname -r)
4 KDIR := /lib/modules/$(KVER)/source
6 default:
7 $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
9 clean:
10 $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean