forked from 77sup/circuitSolver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (21 loc) · 814 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
default_target: all
.PHONY : default_target
CXX_FLAGS=-std=c++11
all: circuit_graph.o circuitsolver.o iscas89_parser.o log.o solver.o
g++ -ggdb -o solver main.cpp \
./include/circuit_graph.o ./include/circuitsolver.o ./include/iscas89_parser.o \
./include/log.o ./include/solver.o \
${CXX_FLAGS}
circuit_graph.o:
g++ -ggdb -o ./include/circuit_graph.o -c ./include/circuit_graph.cpp ${CXX_FLAGS}
circuitsolver.o :
g++ -ggdb -o ./include/circuitsolver.o -c ./include/circuitsolver.cpp ${CXX_FLAGS}
iscas89_parser.o :
g++ -ggdb -o ./include/iscas89_parser.o -c ./include/iscas89_parser.cpp ${CXX_FLAGS}
log.o :
g++ -ggdb -o ./include/log.o -c ./include/log.cpp ${CXX_FLAGS}
solver.o :
g++ -ggdb -o ./include/solver.o -c ./include/solver.cpp ${CXX_FLAGS}
clean:
rm -rf solver
rm -rf ./include/*.o