From 61052a237b510ea0fec9ea4ae9f4ad148a7068c8 Mon Sep 17 00:00:00 2001 From: rudy Date: Mon, 9 May 2022 11:02:22 +0200 Subject: [PATCH] fix(Makefile): concrete-optimizer, rm target dir from dependencies --- compiler/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Makefile b/compiler/Makefile index 8cb1937ce..c9db529c3 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -75,7 +75,7 @@ $(CONCRETE_OPTIMIZER_DIR): mkdir -p $(shell dirname ${CONCRETE_OPTIMIZER_DIR}) git clone --branch $(CONCRETE_OPTIMIZER_BRANCH) git@github.com:zama-ai/concrete-optimizer.git $@ -CONCRETE_OPTIMIZER_SRC := $(shell find $(CONCRETE_OPTIMIZER_DIR) -name '*.rs') +CONCRETE_OPTIMIZER_SRC := $(shell find $(CONCRETE_OPTIMIZER_DIR) -not -path '$(CONCRETE_OPTIMIZER_DIR)/target*') # Build concrete-optimizer $(CONCRETE_OPTIMIZER_DIR)/target/libconcrete_optimizer.a: $(CONCRETE_OPTIMIZER_DIR) $(CONCRETE_OPTIMIZER_SRC)