aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-03-03 19:19:02 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-03-03 19:19:02 -0500
commit7ded6cee0153b51080375bf16001789dc392584d (patch)
tree2327b0907cbeda9a21dac45e92365f728a210670 /Makefile
parentc038740be3e0dec1798c0c660081f1b6d2445907 (diff)
C++ version using unordered map
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5a1f34d..f9db836 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION=\"0.0.2\"
-CC = gcc
-CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra
+CC = g++
+CFLAGS = -O3 -s -mtune=native -Wall -Wextra -DVERSION=$(VERSION) -std=c++11
DESTDIR = /usr/local/
@@ -12,8 +12,8 @@ libkmer.o: kmer_utils.c
$(CC) -c kmer_utils.c -o libkmer.o $(CFLAGS) -fPIC
libkmer.so: libkmer.o
$(CC) kmer_utils.c -o libkmer.so $(CFLAGS) -shared -fPIC
-kmer_total_count: sparse.o libkmer.o kmer_total_count.c kmer_utils.h
- $(CC) sparse.o libkmer.o kmer_total_count.c -o kmer_total_count $(CLIBS) $(CFLAGS)
+kmer_total_count: kmer_utils.c kmer_total_count.c kmer_utils.h
+ $(CC) kmer_utils.cpp kmer_total_count.c -o kmer_total_count $(CLIBS) $(CFLAGS)
kmer_counts_per_sequence: libkmer.o kmer_counts_per_sequence.c kmer_utils.h
$(CC) libkmer.o kmer_counts_per_sequence.c -o kmer_counts_per_sequence $(CLIBS) $(CFLAGS)