forked from marbogusz/paHMM-Tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
59 lines (49 loc) · 1.16 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
RM := rm -rf
SUBDIRS := \
src/models \
src \
src/hmm \
src/heuristics \
src/core \
CC=g++
INCDIR1 = $(CURDIR)/src
INCDIR2 = $(CURDIR)
INC=$(INCDIR1) $(INCDIR2)
INC_PAR=$(foreach d, $(INC), -I$d)
CPPFLAGS=$(INC_PAR) -O3 -c -fmessage-length=0 -std=c++11 -msse2 -mfpmath=sse
-include src/models/subdir.mk
-include src/hmm/subdir.mk
-include src/heuristics/subdir.mk
-include src/core/subdir.mk
-include src/subdir.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
endif
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: paHMMtree
# Tool invocations
paHMMtree: $(OBJS) $(USER_OBJS)
g++ -o "paHMM-tree" $(OBJS) $(USER_OBJS) $(LIBS)
# Other Targets
clean:
-$(RM) $(C++_DEPS)$(OBJS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) paHMMtree
.PHONY: all clean dependents
.SECONDARY: