aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-09-10 23:43:56 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2013-09-10 23:43:56 -0400
commit5b53a787e4d1cefa5660c891791cd0df4a8fd89c (patch)
tree005983f5d068409c9be44e614b4c1722cde37dd5 /Makefile
Initial commit of some kmer utilities.
there are two utilties included. one is kmer_frequency_per_sequence, which outputs a (m x n) matrix where m is the sequence, and n is the frequency of that nmer to occur in the given sequence. the other tool is kmer_total_count, which counts kmers for the total file, not just one sequence
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..df96037
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+VERSION=\"v0.0.1\"
+CC = gcc
+CFLAGS = -O3 -s -mtune=native -Wall -lm -DVERSION=$(VERSION)
+
+all: kmer_total_count kmer_frequency_per_sequence
+
+kmer_total_count:
+ $(CC) kmer_total_count.c kmer_utils.c -o kmer_count_total $(CFLAGS)
+kmer_frequency_per_sequence:
+ $(CC) kmer_frequency_per_sequence.c kmer_utils.c -o kmer_frequency_per_sequence $(CFLAGS)
+
+clean:
+ rm -vf kmer_total_count kmer_frequency_per_sequence