summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 12bb5e24e595f27826ccac6463632ad194c3235a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
KERNEL_DIR := /lib/modules/$(shell uname -r)/build

obj-m += cryptodev.o

build:
	make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules

install:
	make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules_install
	@echo "Installing cryptodev.h in /usr/include/crypto ..."
	@install -D cryptodev.h /usr/include/crypto

clean:
	make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean