]> git.donarmstrong.com Git - mothur.git/blobdiff - makefile
chimera.slayer fix
[mothur.git] / makefile
index 0fd76c198f15e808686093df22a49eaa1c2b4246..aa20f8ca67d6594234f9de806556770fa79576ee 100644 (file)
--- a/makefile
+++ b/makefile
@@ -28,10 +28,10 @@ ifeq  ($(strip $(64BIT_VERSION)),yes)
         CXXFLAGS += -DBIT_VERSION
 endif
 
-MOTHUR_FILES = "\"../Release\""
+MOTHUR_FILES = "\"../release\""
 
-RELEASE_DATE = "\"9/17/2010\""
-VERSION = "\"1.13.0\""
+RELEASE_DATE = "\"12/10/2010\""
+VERSION = "\"1.15.0\""
 
 CXXFLAGS += -DRELEASE_DATE=${RELEASE_DATE} -DVERSION=${VERSION}
 
@@ -53,7 +53,7 @@ USEREADLINE ?= yes
 
 ifeq  ($(strip $(USEREADLINE)),yes)
     CXXFLAGS += -DUSE_READLINE
-    LDFLAGS += \
+    LIBS = \
       -lreadline\
       -lncurses
 endif
@@ -66,7 +66,7 @@ ifeq  ($(strip $(USEMPI)),yes)
 endif
 
 # if you want to enable reading and writing of compressed files, set to yes.
-# The default is no.  this may only work on unix-like systems.
+# The default is no.  this may only work on unix-like systems, not for windows.
 
 USECOMPRESSION ?= no
 
@@ -88,7 +88,9 @@ OBJECTS=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
 OBJECTS+=$(patsubst %.c,%.o,$(wildcard *.c))
 
 mothur : $(OBJECTS)
-       $(CXX) $(LDFLAGS) $(TARGET_ARCH) -o $@ $(OBJECTS)
+       $(CXX) $(LDFLAGS) $(TARGET_ARCH) -o $@ $(OBJECTS) $(LIBS)
+       
+       strip mothur
 
 install : mothur
        cp mothur ../Release/mothur