forked from kausmees/prophaser
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmakefile
More file actions
26 lines (17 loc) · 712 Bytes
/
makefile
File metadata and controls
26 lines (17 loc) · 712 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
## Phaser
CC = g++
CFLAGS = -std=c++14 -static -Ofast -g3 -Wall -c -fopenmp -msse2 -mavx
LFLAGS = -static -static-libgcc -static-libstdc++ -fopenmp -g -o
SOURCES=$(wildcard *.cpp)
OBJECTS=$(SOURCES:.cpp=.o)
TARGET=phase_master
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(CC) $(LFLAGS) $@ $^ -L../../haplotyperProject/libStatGen -lStatGen -lz
# $(CC) $(LFLAGS) $@ $^ -L../../haplotyperProject/libStatGen -lStatGen_debug -lz
%.o: %.cpp %.h
$(CC) $(CFLAGS) -g $< -I ../../haplotyperProject/libStatGen/include/ -I ../../../Programs/eigen-eigen-5a0156e40feb/
%.o: %.cpp
$(CC) $(CFLAGS) $< -I ../../haplotyperProject/libStatGen/include/ -I ../../../Programs/eigen-eigen-5a0156e40feb/
clean:
rm -f *.o