From b461fd7158e960759c481ffaf71b1a273dbe4a12 Mon Sep 17 00:00:00 2001
From: Aaron <aaronquinlan@gmail.com>
Date: Wed, 29 Jun 2011 16:13:08 -0400
Subject: [PATCH] Updated Makefile for 64bit BAM seeks.

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 2fda6df6..80204515 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ export OBJ_DIR	= obj
 export BIN_DIR	= bin
 export SRC_DIR	= src
 export CXX		= g++
-export CXXFLAGS = -Wall -O2
+export CXXFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64 -fPIC
 export LIBS		= -lz
 export BT_ROOT  = src/utils/BamTools/
 
@@ -80,7 +80,7 @@ clean:
 	@echo "Cleaning up."
 	@rm -f $(OBJ_DIR)/* $(BIN_DIR)/*
 	@rm -Rf $(BT_ROOT)/lib
-	@rm -f $(BT_ROOT)/src/*.o
+	@rm -f $(BT_ROOT)/src/api/*.o
 	@rm -f $(BT_ROOT)/src/internal/*.o
 	@rm -Rf $(BT_ROOT)/include
 
-- 
GitLab