Hm, it turns out that only GNU make has $(error...). Does anyone know how we can simulate it in generic make? For GNU it's easy but ugly: LlvmConfigResult := $(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS) || echo Error) ifeq ($(LlvmConfigResult),Error) $(error llvm-config failed) endif LLVMLibsOptions += $(LlvmConfigResult) -Yuri
Yuri,> Hm, it turns out that only GNU make has $(error...). Does anyone know > how we can simulate it in generic make?$(error) is implemented since 3.78. LLVM requires 3.79. ...Takumi