-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (23 loc) · 791 Bytes
/
Makefile
File metadata and controls
24 lines (23 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Author: Michael J. Fischer
# Date: September 4, 2018
# Modified by Ferhat Erata <ferhat@cs.yale.edu> on October 10, 2019
#-----------------------------------------------------------
# Macro definitions
CXXFLAGS = -O2 -std=c++17
# CXXFLAGS = -O1 -g -Wall -std=c++17
OBJ = main.o driver.o solver.o tools.o
TARGET = microsat++
#-----------------------------------------------------------
# Rules
all: $(TARGET)
$(TARGET): $(OBJ)
$(CXX) -o $@ $(OBJ)
clean:
rm -f $(OBJ) $(TARGET)
#-----------------------------------------------------------
# Dependencies
# c++ -MM *.cpp >> Makefile
driver.o: driver.cpp driver.hpp solver.hpp memory.hpp tools.hpp
main.o: main.cpp driver.hpp solver.hpp memory.hpp tools.hpp
solver.o: solver.cpp solver.hpp memory.hpp tools.hpp
tools.o: tools.cpp tools.hpp