diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,12 +2,14 @@ VERSION=\"v0.0.1\" CC = gcc CFLAGS = -O3 -s -mtune=native -Wall -lm -DVERSION=$(VERSION) -Wextra -all: kmer_total_count kmer_frequency_per_sequence +all: libkmer.so kmer_total_count kmer_frequency_per_sequence +libkmer.so: + $(CC) kmer_utils.c -o libkmer.so $(CFLAGS) -shared -FPIC kmer_total_count: $(CC) kmer_total_count.c kmer_utils.c -o kmer_total_count $(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 + rm -vf kmer_total_count kmer_frequency_per_sequence libkmer.so |