aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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