-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmakefile
More file actions
35 lines (27 loc) · 758 Bytes
/
Copy pathmakefile
File metadata and controls
35 lines (27 loc) · 758 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
29
30
31
32
33
34
35
# PATH
EXECPATH = ./bin/
## CLEANBLASTP
# source files
SOURCESCB = ./src/cleanblastp/*.cpp
# executable name and path def
EXECNAMECB = cleanblastp
## COMPOSITESEARCH
# igraph library
PATH_IGRAPH_LIB = -L/usr/local/lib
PATH_IGRAPH_INC = -I/usr/local/include/igraph
# source files
SOURCESCS = ./src/compositesearch/*.cpp
# executable name and path def
EXECNAMECS = compositeSearch
# parameters for g++ compiler
GCC_NAME = g++
GCC_FLAGS = -std=c++11
GCC_LIBS = -ligraph -pthread
.SUFFIXES: .cpp
exec: $(OBJECTS)
$(GCC_NAME) $(SOURCESCS) $(PATH_IGRAPH_INC) $(PATH_IGRAPH_LIB) $(GCC_LIBS) $(GCC_FLAGS) -o $(EXECPATH)$(EXECNAMECS)
$(GCC_NAME) $(SOURCESCB) $(GCC_FLAGS) -o $(EXECPATH)$(EXECNAMECB)
clean:
rm $(EXECNAMECS)
rm $(EXECNAMECB)
# END