aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f33dd1afc1f68972681db7eaef6720033c4083a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
VERSION=\"v0.0.1\"
CC = gcc
CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra
DEST = /usr/local/bin/

all: output_dir bin/strstream bin/filter_melting_range bin/strstreamone

output_dir: 
	mkdir -p bin
bin/strstream: src/strstream.c
	$(CC) src/strstream.c -o bin/strstream $(CLIBS) $(CFLAGS)
bin/strstreamone: src/strstreamone.c
	$(CC) src/strstreamone.c -o bin/strstreamone $(CLIBS) $(CFLAGS)
bin/filter_melting_range: src/filter_melting_range.c
	$(CC) src/filter_melting_range.c -o bin/filter_melting_range $(CLIBS) $(CFLAGS)

clean:
	rm -vf bin/* -Rv

install: all
	install -c bin/strstream bin/filter_melting_range bin/strstreamone SelectiveGenomeAmplification src/select_mers.py src/score_mers.py src/filter_max_consecutive_binding.py $(DEST)