chore(optimizer): Always call the makefile of the optimizer

This commit is contained in:
Quentin Bourgerie
2022-08-24 17:20:37 +02:00
parent 2ed9fc7583
commit 46a914e181

View File

@@ -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