forked from freebayes/freebayes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (28 loc) · 957 Bytes
/
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
#CFLAGS=-O3 -D_FILE_OFFSET_BITS=64 -g
#CXXFLAGS=-O3 -D_FILE_OFFSET_BITS=64 -g
all: vcflib/Makefile log
cd src && $(MAKE)
wbamtools: vcflib/Makefile log
cd src && $(MAKE) -f Makefile.bamtools
log: src/version_git.h
wget -q http://hypervolu.me/freebayes/build/$(shell cat src/version_git.h | grep v | cut -f 3 -d\ | sed s/\"//g) &
src/version_git.h:
cd src && $(MAKE) autoversion
touch src/version_git.h
vcflib/Makefile:
@echo "To build freebayes you must use git to also download its submodules."
@echo "Do so by downloading freebayes again using this command (note --recursive flag):"
@echo " git clone --recursive git://github.com/ekg/freebayes.git"
@error
debug:
cd src && $(MAKE) debug
install:
cp bin/freebayes bin/bamleftalign /usr/local/bin/
uninstall:
rm /usr/local/bin/freebayes /usr/local/bin/bamleftalign
test:
cd test && make test
clean:
cd src && $(MAKE) clean
rm -fr bin/*
.PHONY: all install uninstall clean test