-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (25 loc) · 724 Bytes
/
Makefile
File metadata and controls
37 lines (25 loc) · 724 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
36
CPP=g++
CC=gcc -w
OPTIMISER = -O3
CPPFLAGS = -w -fmessage-length=0 -std=c++11 -msse2 -mfpmath=sse
CFLAGS =
INC = -I/usr/local/include
PROGRAM = prequal
# Headers
HDR = hmm.h prequal.h Sequence.h ZorroInterface.h
# Source
CPPS = prequal.cpp Options.cpp Sequence.cpp ZorroInterface.cpp
CPPO = prequal.o Options.o Sequence.o ZorroInterface.o
SOURCE = hmm.c
COBJS = hmm.o
all : $(PROGRAM)
$(COBJS) : $(HDR) $(SOURCE)
$(CC) $(OPTIMISER) $(CFLAGS) $(INC) -c $(SOURCE)
$(CPPO) : $(HDR) $(CPPS)
$(CPP) $(OPTIMISER) $(CPPFLAGS) $(INC) -c $(CPPS)
$(PROGRAM) : $(CPPO) $(COBJS)
$(CPP) $(CPPFLAGS) $(OPTIMISER) $(INC) $(LIB) $(COBJS) $(CPPO) -o $(PROGRAM)
clean:
rm -f $(COBJS) $(CPPO)
rm -f $(PROGRAM)
rm -f core