From 94d04a1e503121a98b403f882c18a4f0799267d7 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Wed, 29 Jan 2014 11:53:30 -0500 Subject: add filtering based on consecutive mer lengths --- Makefile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3