]> arthur.barton.de Git - ppin.git/blob - Makefile
Added some documentation: README and INSTALL
[ppin.git] / Makefile
1 ifeq ($(KERNELRELEASE),)
2
3 # normal Makefile
4
5 KERNELDIR := /lib/modules/`uname -r`/build
6
7 all:
8         $(MAKE) -C $(KERNELDIR) M=`pwd` CONFIG_PPIN=m modules
9
10 modules_install:
11         $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install
12
13 clean:
14         $(MAKE) -C $(KERNELDIR) M=`pwd` clean
15         rm -f modules.order
16
17 else
18
19 # kbuild part of makefile
20
21 obj-$(CONFIG_PPIN) := ppin.o
22
23 endif