aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 281b4a98912515393c47f259e65a826e667b00a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VERSION=\"v0.0.1\"
CC = gcc
CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra

all: libkmer.so kmer_total_count kmer_frequency_per_sequence

libkmer.so:
	$(CC) kmer_utils.c -o libkmer.so $(CFLAGS) -shared -fPIC -DSHARED=0
kmer_total_count:
	$(CC) kmer_total_count.c -o kmer_total_count kmer_utils.c $(CFLAGS) -DSHARED=0
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 libkmer.so