aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 8837865..f33dd1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,24 +1,22 @@
VERSION=\"v0.0.1\"
CC = gcc
CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra
-SRC = src
-BIN = bin
DEST = /usr/local/bin/
-all: output_dir $(BIN)/strstream $(BIN)/melting_range $(BIN)/strstreamone
+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)/melting_range: $(SRC)/melting_range.c
- $(CC) $(SRC)/melting_range.c -o $(BIN)/melting_range $(CLIBS) $(CFLAGS)
+ 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)/strstream $(BIN)/melting_range $(BIN)/strstreamone
+ rm -vf bin/* -Rv
install: all
- install -c $(BIN)/strstream $(BIN)/melting_range $(BIN)/strstreamone SelectiveGenomeAmplification select_mers.py score_mers.py $(DEST)
+ 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)