From 2194982a6602203f7aae3c1bc4dccfa469c34e1a Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 20 Feb 2010 10:54:35 +0100 Subject: Examples were moved to examples/ directory. --- Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5a8eb2b..faab5f7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -KERNEL_DIR := /lib/modules/$(shell uname -r)/build +KERNEL_DIR = /lib/modules/$(shell uname -r)/build cryptodev-objs = cryptodev_main.o cryptodev_cipher.o @@ -16,10 +16,5 @@ clean: make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean rm -f $(hostprogs) -hostprogs := example-cipher example-hmac -example-cipher-objs := example-cipher.o -example-hmac-objs := example-hmac.o - -check: $(hostprogs) - ./example-cipher - ./example-hmac +check: + KERNEL_DIR=$(KERNEL_DIR) make -C examples check -- cgit