From 46a914e1813bf89b5cc19ea67fd3325e155e5df3 Mon Sep 17 00:00:00 2001 From: Quentin Bourgerie Date: Wed, 24 Aug 2022 17:20:37 +0200 Subject: [PATCH] chore(optimizer): Always call the makefile of the optimizer --- compiler/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index f162e6b63..f625be1d4 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -78,15 +78,12 @@ $(BUILD_DIR)/configured.stamp: build-initialized: concrete-optimizer-lib $(BUILD_DIR)/configured.stamp -CONCRETE_OPTIMIZER_SRC = $(shell find $(CONCRETE_OPTIMIZER_DIR)/* -not -path '$(CONCRETE_OPTIMIZER_DIR)/target*') - LIB_CONCRETE_OPTIMIZER_CPP = $(CONCRETE_OPTIMIZER_DIR)/target/libconcrete_optimizer_cpp.a # we need CONCRETE_OPTIMIZER_DIR here to ensure it is present before computing CONCRETE_OPTIMIZER_SRC -$(LIB_CONCRETE_OPTIMIZER_CPP): $(CONCRETE_OPTIMIZER_SRC) - make -C $(CONCRETE_OPTIMIZER_DIR)/concrete-optimizer-cpp $@ -concrete-optimizer-lib: $(LIB_CONCRETE_OPTIMIZER_CPP) +concrete-optimizer-lib: + make -C $(CONCRETE_OPTIMIZER_DIR)/concrete-optimizer-cpp $(LIB_CONCRETE_OPTIMIZER_CPP) # HPX