8dbd1070da
sequencing technologies, such as Solexa or 454, developed by Daniel Zerbino and Ewan Birney at the European Bioinformatics Institute (EMBL-EBI). Citation: Velvet: algorithms for de novo short read assembly using de Bruijn graphs. D.R. Zerbino and E. Birney. Genome Research 18: 821-829 (2008) WWW: http://www.ebi.ac.uk/~zerbino/velvet/ PR: 140147 Submitted by: Motomichi Matsuzaki <mzaki@m.u-tokyo.ac.jp>
38 lines
1 KiB
Text
38 lines
1 KiB
Text
--- Makefile.orig 2009-09-02 22:21:01.000000000 +0900
|
|
+++ Makefile 2009-10-27 22:05:49.000000000 +0900
|
|
@@ -1,18 +1,18 @@
|
|
-CC = gcc
|
|
-CFLAGS = -Wall
|
|
+CC ?= gcc
|
|
+CFLAGS += -Wall
|
|
DEBUG = -g
|
|
-LDFLAGS = -lm
|
|
-OPT = -O3
|
|
-MAXKMERLENGTH=31
|
|
-CATEGORIES=2
|
|
+#LDFLAGS = -lm
|
|
+#OPT = -O3
|
|
+MAXKMERLENGTH?=31
|
|
+CATEGORIES?=2
|
|
DEF = -D MAXKMERLENGTH=$(MAXKMERLENGTH) -D CATEGORIES=$(CATEGORIES)
|
|
|
|
Z_LIB_DIR=third-party/zlib-1.2.3
|
|
Z_LIB_FILES=$(Z_LIB_DIR)/*.o
|
|
|
|
# Mac OS users: uncomment the following lines
|
|
-# Z_LIB_FILES=
|
|
-# LDFLAGS = -lm -lz
|
|
+Z_LIB_FILES=
|
|
+LDFLAGS += -lm -lz
|
|
# CFLAGS = -Wall -m64
|
|
|
|
# Sparc/Solaris users: uncomment the following line
|
|
@@ -32,7 +32,7 @@
|
|
-rm obj/*.o obj/dbg/*.o
|
|
|
|
zlib :
|
|
- cd $(Z_LIB_DIR); ./configure; make; rm minigzip.o; rm example.o
|
|
+# cd $(Z_LIB_DIR); ./configure; make; rm minigzip.o; rm example.o
|
|
|
|
velveth : $(OBJ)
|
|
$(CC) $(CFLAGS) $(OPT) $(LDFLAGS) -o velveth obj/tightString.o obj/run.o obj/recycleBin.o obj/splay.o obj/splayTable.o obj/readSet.o obj/crc.o obj/utility.o obj/kmer.o $(Z_LIB_FILES)
|