diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 03:31:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-24 11:42:47 +0200 |
commit | 707ae74fc7aae4f9aaef480c11289b69356bbe51 (patch) | |
tree | c1d157fb4ce0eeff9ba315fed82b3b7a01c4e9bd /Makefile | |
parent | d3d66b196cda9b100f3e3e0e742e0c2a76f2751a (diff) | |
download | cryptodev-linux-707ae74fc7aae4f9aaef480c11289b69356bbe51.tar.gz cryptodev-linux-707ae74fc7aae4f9aaef480c11289b69356bbe51.tar.xz cryptodev-linux-707ae74fc7aae4f9aaef480c11289b69356bbe51.zip |
Allow parrallel build (make -j$$$$N)
Using "$(MAKE)" instead of "make" allows make to recognize the
subprocesses and manage the parallel build.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -75,22 +75,22 @@ cryptodev-objs = cryptodev_main.o cryptodev_cipher.o ncr.o \ obj-m += cryptodev.o build: - @make version.h - make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules + @$(MAKE) version.h + $(MAKE) -C $(KERNEL_DIR) SUBDIRS=`pwd` modules install: - 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/cryptodev.h @install -D ncr.h /usr/include/crypto/ncr.h clean: - make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean + $(MAKE) -C $(KERNEL_DIR) SUBDIRS=`pwd` clean rm -f $(hostprogs) - KERNEL_DIR=$(KERNEL_DIR) make -C examples clean + KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C examples clean check: - KERNEL_DIR=$(KERNEL_DIR) make -C examples check + KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C examples check FILEBASE = cryptodev-linux-$(VERSION) TMPDIR ?= /tmp |