From 3900f010e89c004b23fc648ed16c661aae4da785 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 28 Nov 2009 15:47:11 +0200 Subject: Added files. --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..12bb5e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit