-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.bak
39 lines (35 loc) · 948 Bytes
/
Makefile.bak
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
35
36
37
38
export BIN_DIR = $(CURDIR)/bin
export DATA_DIR = $(CURDIR)/data
export SRC_DIR = $(CURDIR)/src
export SRC_INC_DIRS = $(SRC_DIR) $(DATA_DIR)
export OBJ_INC_DIRS = $(SRC_DIR)
LOG = _LOG_FATAL
STATS = _COLLECT_STATS
export CPPFLAGS = $(SRC_INC_DIRS:%=-I%) -D $(LOG) -D $(STATS)
export CXXFLAGS = -std=c++0x
export LDFLAGS = $(OBJ_INC_DIRS:%=-L%)
.PHONY: http
http:
cd $(SRC_DIR) && $(MAKE) http
.PHONY: concurrent-queue-test
concurrent-queue-test:
cd $(SRC_DIR) && $(MAKE) concurrent-queue-test
.PHONY: endless-test
endless-test:
cd $(SRC_DIR) && $(MAKE) endless-test
.PHONY: SigThreadTest
SigThreadTest:
cd $(SRC_DIR) && $(MAKE) SigThreadTest
.PHONY: standalone-cache
standalone-cache:
cd $(SRC_DIR) && $(MAKE) standalone-cache
.PHONY: ThreadPoolTest
ThreadPoolTest:
cd $(SRC_DIR) && $(MAKE) ThreadPoolTest
.PHONY: depend
depend:
cd $(SRC_DIR) && $(MAKE) depend
.PHONY: clean
clean:
rm -f *~ $(BIN_DIR)/*
cd $(SRC_DIR) && $(MAKE) clean