]> git.donarmstrong.com Git - mothur.git/blobdiff - makefile
added fasta, qfile, trim, accnos and sfftxt parameter to sffinfo command. added...
[mothur.git] / makefile
index af46fd97ab6bcd26392de438592e9d03678f3948..8ea410e02545278774c6b5f922c8ac40f68f946e 100644 (file)
--- a/makefile
+++ b/makefile
@@ -17,13 +17,17 @@ CYGWIN_BUILD ?= no
 ifeq  ($(strip $(CYGWIN_BUILD)),yes)\r
     CXXFLAGS += -mno-cygwin\r
     LDFLAGS += -mno-cygwin \r
-#-lpsapi\r
 endif\r
 \r
 64BIT_VERSION ?= yes\r
 \r
 ifeq  ($(strip $(64BIT_VERSION)),yes)\r
     TARGET_ARCH += -arch x86_64\r
+        CXXFLAGS += -DBIT_VERSION\r
+       \r
+       #if you are using centos uncomment the following lines\r
+       #CC = g++44\r
+       #CXXFLAGS += -mtune=native -march=native -m64\r
 endif\r
 \r
 # if you do not want to use the readline library, set this to no.\r
@@ -35,8 +39,7 @@ ifeq  ($(strip $(USEREADLINE)),yes)
     CXXFLAGS += -DUSE_READLINE\r
     LDFLAGS += \\r
       -lreadline\\r
-      -lncurses\\r
-      -L../readline-6.0\r
+      -lncurses\r
 endif\r
 \r
 USEMPI ?= no\r
@@ -64,6 +67,12 @@ mothur : $(OBJECTS)
 install : mothur\r
        cp mothur ../Release/mothur\r
 \r
+%.o : %.cpp %.h\r
+       $(COMPILE.cpp) $(OUTPUT_OPTION) $<\r
+%.o : %.cpp %.hpp\r
+       $(COMPILE.cpp) $(OUTPUT_OPTION) $<\r
+\r
+\r
 clean :\r
        @rm -f $(OBJECTS)\r
 \r