From 9e8c8b136fbee0c55c5a428f58fad4ffa2a19702 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sun, 2 Feb 2014 00:40:13 -0500 Subject: add install section --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index bc221e9..c929cfd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ VERSION=\"0.0.2\" CC = gcc CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra +DESTDIR = /usr/local/ all: libkmer.o libkmer.so kmer_total_count kmer_counts_per_sequence @@ -19,3 +20,8 @@ clean: debug: CFLAGS = -ggdb -Wall -Wextra -DVERSION=$(VERSION)\"-debug\" debug: all + +install: all + @cp -vf kmer_counts_per_sequence kmer_total_count $(DESTDIR)/bin/ + @cp -vf libkmer.so $(DESTDIR)/lib/ + -- cgit v1.2.1