-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (24 loc) · 811 Bytes
/
makefile
File metadata and controls
27 lines (24 loc) · 811 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
all: prep
ifdef MSVC # Avoid the MingW/Cygwin sections
uname_S := Windows
uname_M := "x86_64"
else # If uname not available => 'not'
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
endif
prep:
cd 3rd_party/kmer-db && $(MAKE) -j
cd 3rd_party/lz-ani && $(MAKE) -j
cd 3rd_party/clusty && $(MAKE) -j
cd 3rd_party/ref-utils && $(MAKE) -j
mkdir -p bin
cp 3rd_party/kmer-db/bin/kmer-db ./bin/
cp 3rd_party/lz-ani/bin/lz-ani ./bin/
cp 3rd_party/clusty/bin/clusty ./bin/
cp 3rd_party/ref-utils/bin/mfasta-tool ./bin/
clean:
cd 3rd_party/kmer-db && $(MAKE) clean
cd 3rd_party/lz-ani && $(MAKE) clean
cd 3rd_party/clusty && $(MAKE) clean
cd 3rd_party/ref-utils && $(MAKE) clean
rm bin/*