-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (19 loc) · 675 Bytes
/
Makefile
File metadata and controls
28 lines (19 loc) · 675 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
25
26
27
28
# IP configuration
IP := <fill_here>
CXX = g++
# DO NOT CHANGE BELOW THIS
PROJECT_NAME := DeadLock
CXXFLAGS = -std=c++17 -I include -pthread
INVOC_SRCS = custom_invocation/invocation.cpp src/query.cpp src/get_vwap.cpp src/accept_event.cpp src/get_last_price.cpp src/get_max_min.cpp
INVOC_TARGET = custom_invocation/backtester_invoc
invoc_all: $(INVOC_TARGET)
$(INVOC_TARGET): $(INVOC_SRCS)
@$(CXX) $(CXXFLAGS) $^ -o $@
invoc_run: $(INVOC_TARGET)
@./$(INVOC_TARGET)
clean:
@rm -f $(PUBLIC_TARGET) $(INVOC_TARGET)
invoc_check: invoc_all invoc_run clean
submit:
echo "Submitting $(PROJECT_NAME) to $(IP):8585..."
cd .. && tar -cf - $(PROJECT_NAME) | nc $(IP) 8585