summaryrefslogtreecommitdiffstats
path: root/examples/Makefile
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 10:54:35 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-02-20 10:54:35 +0100
commit2194982a6602203f7aae3c1bc4dccfa469c34e1a (patch)
treea977da561a16d1efafb2a72c1a0203e9b0f3a6b7 /examples/Makefile
parentcceea9e9eacfa8d165d4ad11900f061ac6401a11 (diff)
downloadkernel-crypto-2194982a6602203f7aae3c1bc4dccfa469c34e1a.tar.gz
kernel-crypto-2194982a6602203f7aae3c1bc4dccfa469c34e1a.tar.xz
kernel-crypto-2194982a6602203f7aae3c1bc4dccfa469c34e1a.zip
Examples were moved to examples/ directory.
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644
index 00000000000..eb50a5f101f
--- /dev/null
+++ b/examples/Makefile
@@ -0,0 +1,9 @@
+KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
+
+hostprogs := cipher hmac
+example-cipher-objs := cipher.o
+example-hmac-objs := hmac.o
+
+check: $(hostprogs)
+ ./cipher
+ ./hmac