cloud-sat/makefile
2023-02-24 07:58:40 +00:00

22 lines
526 B
Makefile

SRCS = $(shell find . -name "*.cpp")
OBJS = $(addsuffix .o, $(basename $(SRCS)))
EXEC = light
LIBS = -lkissat -Lsolvers/kissat-inc/build \
-lm4ri -Lpreprocess/m4ri-20140914/.libs \
-lpthread -pthread -lz -lm -lboost_thread -lboost_date_time -lboost_system -static
CXXFLAGS = -Isolvers/kissat-inc \
-Ipreprocess/m4ri-20140914 \
-std=c++11 -O3
$(EXEC): $(OBJS)
$(CXX) -o $@ $^ $(CXXFLAGS) $(LIBS)
%.o: %.cpp
$(CXX) -c $< -o $@ $(CXXFLAGS) $(LIBS)
clean:
rm -f $(OBJS) $(EXEC)