-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMakefile
34 lines (23 loc) · 1.03 KB
/
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
30
31
32
33
34
# Makefile for compiling main.cpp with g++
CXX = g++
CXXFLAGS = -g -Wall -static -std=c++11
TARGET = Evaluator
SOURCES = ./evaluator/evaluator.cpp
LIBS = -lpthread
all: $(TARGET)
$(TARGET): $(SOURCES)
$(CXX) $(CXXFLAGS) $(SOURCES) -o $(TARGET) $(LIBS)
run1:
./$(TARGET) ./testcase/testcase1_16900.lg ./testcase/testcase1_16900.opt ./testcase/testcase1_16900_post.lg 2>&1 | tee run1.log
run2:
./$(TARGET) ./testcase/testcase2_100.lg ./testcase/testcase2_100.opt ./testcase/testcase2_100_post.lg
run3:
./$(TARGET) ./testcase/testcase1_ALL0_5000.lg ./testcase/testcase1_ALL0_5000.opt ./testcase/testcase1_ALL0_5000_post.lg
success:
./$(TARGET) ./testcase/success_testcase/debug.lg ./testcase/success_testcase/debug.opt ./testcase/success_testcase/debug.out
overlap:
./$(TARGET) ./testcase/fail_testcase/debug.lg ./testcase/fail_testcase/debug.opt ./testcase/fail_testcase/debug.out
debug2:
./$(TARGET) ./testcase/student/testcase_my0.lg ./testcase/student/testcase_my0.opt ./testcase/student/testcase_my0_post.lg
clean:
rm -f $(TARGET)