lean4-htt/src/cadical.mk
Sebastian Ullrich 9f48af3edd
fix: cadical distribution on Linux (#8201)
Compile it with the same flags as other executables
2025-05-02 18:25:16 +00:00

7 lines
228 B
Makefile

CXX ?= c++
%.o: src/%.cpp
$(CXX) -std=c++11 -O3 -DNDEBUG -DNBUILD $(CXXFLAGS) -c $< -o $@
../../cadical$(CMAKE_EXECUTABLE_SUFFIX): $(patsubst src/%.cpp,%.o,$(shell ls src/*.cpp | grep -v mobical))
$(CXX) -o $@ $^ $(LDFLAGS)