aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: bc7dc69499fe1af5ef17c66274195f5b1169172a (plain)
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
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 bin/sequence_end_points

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/sequence_end_points: src/sequence_end_points.c
	$(CC) src/sequence_end_points.c -o bin/sequence_end_points $(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 $(DEST)
	install -c bin/filter_melting_range $(DEST)
	install -c bin/strstreamone $(DEST)
	install -c bin/sequence_end_points $(DEST)
	install -c SelectiveGenomeAmplification $(DEST)
	install -c src/select_mers.py $(DEST)
	install -c src/score_mers.py $(DEST)
	install -c src/below_melting_temperature.py $(DEST)
	install -c src/filter_max_consecutive_binding.py $(DEST)