commit 1bc8be14ed5fbd7a5d60459fa33aa0de84902b20
parent 00a68f904305dab10c092062687d0bc2249dab63
Author: finwo <finwo@pm.me>
Date: Mon, 3 Apr 2023 20:23:04 +0200
Split clone & build of libmatter.a in makefile
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -12,13 +12,15 @@ lib/supercop:
cd lib/supercop
bash -c 'cd lib/supercop && patch -p1 < ../../patch/supercop/00-single-file-compile.patch'
-lib/matter/libmatter.a:
+lib/matter:
mkdir -p lib
git clone https://github.com/finwo/matter lib/matter
- $(MAKE) -C lib/matter libmatter.a
+
+lib/matter/libmatter.a: lib/matter
+ ${MAKE} -C lib/matter libmatter.a
supercop.ll: lib/matter/libmatter.a lib/supercop
- $(CC) \
+ ${CC} \
-nostdinc \
--target=${TARGET} \
-emit-llvm \