aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-02-02 00:40:13 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-02-02 00:40:13 -0500
commit9e8c8b136fbee0c55c5a428f58fad4ffa2a19702 (patch)
tree6fd5bf985c48c47544533373b30c89a713cb8bad
parentf63a4123cc7879ea374d7ae784c9dd1e05bf277b (diff)
add install section
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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/
+