summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-24 14:42:49 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 18:56:22 +0100
commit24dc03cac985dd76b72f3b1982b3d1ff4535c676 (patch)
tree2b5502d980284c97ebbc3e7239a2aab706df4e5e /Makefile
parent9f0e18f1a91a768717481dbf6b88eedd066a46c9 (diff)
downloadlibnitrokey-24dc03cac985dd76b72f3b1982b3d1ff4535c676.tar.gz
libnitrokey-24dc03cac985dd76b72f3b1982b3d1ff4535c676.tar.bz2
Build properly subtasks in parallel
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cf0cf0c..977eae6 100644
--- a/Makefile
+++ b/Makefile
@@ -30,14 +30,14 @@ $(BUILD)/%.o: %.cc $(DEPENDS)
clean:
rm -f $(OBJ)
rm -f $(BUILD)/libnitrokey.so
- make -C unittest clean
+ ${MAKE} -C unittest clean
mrproper: clean
rm -f $(BUILD)/*.d
- make -C unittest mrproper
+ ${MAKE} -C unittest mrproper
unittest: $(BUILD)/libnitrokey.so
- make -C unittest
+ ${MAKE} -C unittest
cd unittest/build && ln -fs ../../build/libnitrokey.so .
.PHONY: all clean mrproper unittest