Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/bedtools/files/, sci-biology/bedtools/
Date: Sat, 24 Sep 2016 22:55:58
Message-Id: 1474757737.c8c95dc5616fe51e1fffe9f875556a5ff14be39e.soap@gentoo
1 commit: c8c95dc5616fe51e1fffe9f875556a5ff14be39e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 22:47:39 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 22:55:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c95dc5
7
8 sci-biology/bedtools: Version bump to 2.26.0
9
10 Gentoo-bug: 594994
11 * EAPI=6
12 * Make buildsystem output verbose
13 * Inherit 'python-any-r1', due to python script
14 * Add dependencies for test suite
15 * Properly set CXX and CXXFLAGS
16
17 Package-Manager: portage-2.3.1
18
19 sci-biology/bedtools/Manifest | 1 +
20 sci-biology/bedtools/bedtools-2.26.0.ebuild | 42 +
21 .../files/bedtools-2.26.0-fix-buildsystem.patch | 869 +++++++++++++++++++++
22 3 files changed, 912 insertions(+)
23
24 diff --git a/sci-biology/bedtools/Manifest b/sci-biology/bedtools/Manifest
25 index 9dd006e..c5daa59 100644
26 --- a/sci-biology/bedtools/Manifest
27 +++ b/sci-biology/bedtools/Manifest
28 @@ -1,2 +1,3 @@
29 DIST BEDTools.v2.16.2.tar.gz 978293 SHA256 f5f5c864eb3f465ac7fd5fa651e2e4dbc0cd8d9198367148c52f3be3f46c2772 SHA512 4dfeb048a7eacb1ca70caed64087d279aa955f30cf685f938e5a02ba328d1a878a75bfe37b537fc06cf9023474e4922719f1b391943ff0143c7760e987fa4645 WHIRLPOOL d6b89fdd4dc1f7bebcda71ea7b4c76c5d5811d7b23861019e19667171572743bd8dfbd74d4e80838aa4bfa06a524bcfaf5e76cd52c49b0658929b0060ee3aaa0
30 DIST bedtools-2.20.1.tar.gz 4213348 SHA256 b5401810f8b12b683575f0119521dda64ff2f0a59faa308357405c4ae4e328d3 SHA512 b5c27601365a2126c58492791a52a262c874073cc1626bb1e38545ccf6e3594d12d2d2116304374b3446a588611cfd410c8ff166170823071b33c444c9fd36a7 WHIRLPOOL b768a7e064444d5d0434aea5251e132d68fbeb580783034c8e327666eaace0307febc80e9d6d3eea2f0f648263ce0ac836fac7a676586a6e6a8ec4daf39e6a84
31 +DIST bedtools-2.26.0.tar.gz 19939711 SHA256 65f32f32cbf1b91ba42854b40c604aa6a16c7d3b3ec110d6acf438eb22df0a4a SHA512 b224adcc09322e90ef389e8172e14572b68f164185fe1a8814db1c47bb4f15656ca8c0ff0061017eb54d76affbe0d0f5793d893b8ab489b56eaf0818616a5def WHIRLPOOL 8d6e3b58dc38d7ab91482ffe5ee773953864ca79bdbf005b17fec51952a869b39bf775d836ed34496a7784565bb84380eef284e285e842d52229fe2fc6a214b2
32
33 diff --git a/sci-biology/bedtools/bedtools-2.26.0.ebuild b/sci-biology/bedtools/bedtools-2.26.0.ebuild
34 new file mode 100644
35 index 00000000..feddd87
36 --- /dev/null
37 +++ b/sci-biology/bedtools/bedtools-2.26.0.ebuild
38 @@ -0,0 +1,42 @@
39 +# Copyright 1999-2016 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +
45 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
46 +
47 +inherit flag-o-matic python-any-r1 toolchain-funcs
48 +
49 +DESCRIPTION="Tools for manipulation and analysis of BED, GFF/GTF, VCF, SAM/BAM file formats"
50 +HOMEPAGE="https://bedtools.readthedocs.io/"
51 +SRC_URI="https://github.com/arq5x/${PN}2/releases/download/v${PV}/${P}.tar.gz"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +KEYWORDS="~x86 ~amd64"
56 +IUSE="test"
57 +
58 +DEPEND="${PYTHON_DEPS}
59 + test? (
60 + sci-libs/htslib
61 + sci-biology/samtools
62 + )"
63 +
64 +S="${WORKDIR}/${PN}2"
65 +
66 +DOCS=( README.md RELEASE_HISTORY )
67 +PATCHES=( "${FILESDIR}/${PN}-2.26.0-fix-buildsystem.patch" )
68 +
69 +src_configure() {
70 + append-lfs-flags
71 + export prefix="${EPREFIX}/usr"
72 + tc-export AR CXX
73 +}
74 +
75 +src_install() {
76 + default
77 +
78 + insinto /usr/share/${PN}
79 + doins -r genomes
80 +}
81
82 diff --git a/sci-biology/bedtools/files/bedtools-2.26.0-fix-buildsystem.patch b/sci-biology/bedtools/files/bedtools-2.26.0-fix-buildsystem.patch
83 new file mode 100644
84 index 00000000..fb6be18
85 --- /dev/null
86 +++ b/sci-biology/bedtools/files/bedtools-2.26.0-fix-buildsystem.patch
87 @@ -0,0 +1,869 @@
88 +* Make build system verbose (https://bugs.gentoo.org/show_bug.cgi?id=429308)
89 +* Remove CXX and CXXFLAGS, ebuild sets them
90 +* Handle python via Gentoo's EPYTHON instead
91 +
92 +--- a/Makefile
93 ++++ b/Makefile
94 +@@ -16,17 +16,9 @@
95 + export BIN_DIR = bin
96 + export SRC_DIR = src
97 + export UTIL_DIR = src/utils
98 +-export CXX = g++
99 +-ifeq ($(DEBUG),1)
100 +-export CXXFLAGS = -Wall -O0 -g -fno-inline -fkeep-inline-functions -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG -D_DEBUG
101 +-else
102 +-export CXXFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64 -fPIC $(INCLUDES)
103 +-endif
104 + export LIBS = -lz
105 + export BT_ROOT = src/utils/BamTools/
106 +
107 +-prefix ?= /usr/local
108 +-
109 + SUBDIRS = $(SRC_DIR)/annotateBed \
110 + $(SRC_DIR)/bamToBed \
111 + $(SRC_DIR)/bamToFastq \
112 +@@ -135,13 +127,13 @@
113 +
114 + all: print_banner $(OBJ_DIR) $(BIN_DIR) autoversion $(UTIL_SUBDIRS) $(SUBDIRS)
115 + @echo "- Building main bedtools binary."
116 +- @$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c src/bedtools.cpp -o obj/bedtools.o $(INCLUDES)
117 +- @$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $(BIN_DIR)/bedtools $(BUILT_OBJECTS) -L$(UTIL_DIR)/BamTools/lib/ -lbamtools $(LIBS) $(LDFLAGS) $(INCLUDES)
118 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c src/bedtools.cpp -o obj/bedtools.o $(INCLUDES)
119 ++ $(CXX) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -o $(BIN_DIR)/bedtools $(BUILT_OBJECTS) -L$(UTIL_DIR)/BamTools/lib/ -lbamtools $(LIBS)
120 + @echo "done."
121 +
122 + @echo "- Creating executables for old CLI."
123 +- @python scripts/makeBashScripts.py
124 +- @chmod +x bin/*
125 ++ $(EPYTHON) scripts/makeBashScripts.py
126 ++ chmod +x bin/*
127 + @echo "done."
128 +
129 +
130 +--- a/src/annotateBed/Makefile
131 ++++ b/src/annotateBed/Makefile
132 +@@ -26,7 +26,7 @@
133 +
134 + $(BUILT_OBJECTS): $(SOURCES)
135 + @echo " * compiling" $(*F).cpp
136 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
137 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
138 +
139 +
140 + clean:
141 +--- a/src/bamToBed/Makefile
142 ++++ b/src/bamToBed/Makefile
143 +@@ -28,7 +28,7 @@
144 +
145 + $(BUILT_OBJECTS): $(SOURCES)
146 + @echo " * compiling" $(*F).cpp
147 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
148 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
149 +
150 + clean:
151 + @echo "Cleaning up."
152 +--- a/src/bamToFastq/Makefile
153 ++++ b/src/bamToFastq/Makefile
154 +@@ -24,7 +24,7 @@
155 +
156 + $(BUILT_OBJECTS): $(SOURCES)
157 + @echo " * compiling" $(*F).cpp
158 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
159 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
160 +
161 + clean:
162 + @echo "Cleaning up."
163 +--- a/src/bed12ToBed6/Makefile
164 ++++ b/src/bed12ToBed6/Makefile
165 +@@ -27,7 +27,7 @@
166 +
167 + $(BUILT_OBJECTS): $(SOURCES)
168 + @echo " * compiling" $(*F).cpp
169 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
170 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
171 +
172 + clean:
173 + @echo "Cleaning up."
174 +--- a/src/bedpeToBam/Makefile
175 ++++ b/src/bedpeToBam/Makefile
176 +@@ -33,7 +33,7 @@
177 +
178 + $(BUILT_OBJECTS): $(SOURCES)
179 + @echo " * compiling" $(*F).cpp
180 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
181 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
182 +
183 + $(EXT_OBJECTS):
184 + @$(MAKE) --no-print-directory -C $(UTILITIES_DIR)/BamTools/
185 +--- a/src/bedToBam/Makefile
186 ++++ b/src/bedToBam/Makefile
187 +@@ -30,7 +30,7 @@
188 +
189 + $(BUILT_OBJECTS): $(SOURCES)
190 + @echo " * compiling" $(*F).cpp
191 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
192 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
193 +
194 + clean:
195 + @echo "Cleaning up."
196 +--- a/src/bedToIgv/Makefile
197 ++++ b/src/bedToIgv/Makefile
198 +@@ -28,7 +28,7 @@
199 +
200 + $(BUILT_OBJECTS): $(SOURCES)
201 + @echo " * compiling" $(*F).cpp
202 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
203 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
204 +
205 + clean:
206 + @echo "Cleaning up."
207 +--- a/src/closestFile/Makefile
208 ++++ b/src/closestFile/Makefile
209 +@@ -40,7 +40,7 @@
210 +
211 + $(BUILT_OBJECTS): $(SOURCES)
212 + @echo " * compiling" $(*F).cpp
213 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
214 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
215 +
216 + clean:
217 + @echo "Cleaning up."
218 +--- a/src/clusterBed/Makefile
219 ++++ b/src/clusterBed/Makefile
220 +@@ -25,7 +25,7 @@
221 +
222 + $(BUILT_OBJECTS): $(SOURCES)
223 + @echo " * compiling" $(*F).cpp
224 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
225 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
226 +
227 + clean:
228 + @echo "Cleaning up."
229 +--- a/src/complementFile/Makefile
230 ++++ b/src/complementFile/Makefile
231 +@@ -42,7 +42,7 @@
232 +
233 + $(BUILT_OBJECTS): $(SOURCES)
234 + @echo " * compiling" $(*F).cpp
235 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(DFLAGS) $(INCLUDES)
236 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
237 +
238 + clean:
239 + @echo "Cleaning up."
240 +--- a/src/coverageFile/Makefile
241 ++++ b/src/coverageFile/Makefile
242 +@@ -38,7 +38,7 @@
243 +
244 + $(BUILT_OBJECTS): $(SOURCES)
245 + @echo " * compiling" $(*F).cpp
246 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(DFLAGS) $(INCLUDES)
247 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
248 +
249 + clean:
250 + @echo "Cleaning up."
251 +--- a/src/expand/Makefile
252 ++++ b/src/expand/Makefile
253 +@@ -27,7 +27,7 @@
254 +
255 + $(BUILT_OBJECTS): $(SOURCES)
256 + @echo " * compiling" $(*F).cpp
257 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
258 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
259 +
260 + clean:
261 + @echo "Cleaning up."
262 +--- a/src/fastaFromBed/Makefile
263 ++++ b/src/fastaFromBed/Makefile
264 +@@ -30,7 +30,7 @@
265 +
266 + $(BUILT_OBJECTS): $(SOURCES)
267 + @echo " * compiling" $(*F).cpp
268 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
269 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
270 +
271 + clean:
272 + @echo "Cleaning up."
273 +--- a/src/fisher/Makefile
274 ++++ b/src/fisher/Makefile
275 +@@ -51,7 +51,7 @@
276 +
277 + $(BUILT_OBJECTS): $(SOURCES)
278 + @echo " * compiling" $(*F).cpp
279 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
280 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
281 +
282 + clean:
283 + @echo "Cleaning up."
284 +--- a/src/flankBed/Makefile
285 ++++ b/src/flankBed/Makefile
286 +@@ -26,7 +26,7 @@
287 +
288 + $(BUILT_OBJECTS): $(SOURCES)
289 + @echo " * compiling" $(*F).cpp
290 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
291 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
292 +
293 + clean:
294 + @echo "Cleaning up."
295 +--- a/src/genomeCoverageBed/Makefile
296 ++++ b/src/genomeCoverageBed/Makefile
297 +@@ -27,7 +27,7 @@
298 +
299 + $(BUILT_OBJECTS): $(SOURCES)
300 + @echo " * compiling" $(*F).cpp
301 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
302 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
303 +
304 + clean:
305 + @echo "Cleaning up."
306 +--- a/src/getOverlap/Makefile
307 ++++ b/src/getOverlap/Makefile
308 +@@ -26,7 +26,7 @@
309 +
310 + $(BUILT_OBJECTS): $(SOURCES)
311 + @echo " * compiling" $(*F).cpp
312 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
313 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
314 +
315 +
316 + clean:
317 +--- a/src/groupBy/Makefile
318 ++++ b/src/groupBy/Makefile
319 +@@ -42,7 +42,7 @@
320 +
321 + $(BUILT_OBJECTS): $(SOURCES)
322 + @echo " * compiling" $(*F).cpp
323 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
324 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
325 +
326 + clean:
327 + @echo "Cleaning up."
328 +--- a/src/intersectFile/Makefile
329 ++++ b/src/intersectFile/Makefile
330 +@@ -39,7 +39,7 @@
331 +
332 + $(BUILT_OBJECTS): $(SOURCES)
333 + @echo " * compiling" $(*F).cpp
334 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
335 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
336 +
337 + clean:
338 + @echo "Cleaning up."
339 +--- a/src/jaccard/Makefile
340 ++++ b/src/jaccard/Makefile
341 +@@ -43,7 +43,7 @@
342 +
343 + $(BUILT_OBJECTS): $(SOURCES)
344 + @echo " * compiling" $(*F).cpp
345 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
346 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
347 +
348 + clean:
349 + @echo "Cleaning up."
350 +--- a/src/linksBed/Makefile
351 ++++ b/src/linksBed/Makefile
352 +@@ -25,7 +25,7 @@
353 +
354 + $(BUILT_OBJECTS): $(SOURCES)
355 + @echo " * compiling" $(*F).cpp
356 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
357 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
358 +
359 + clean:
360 + @echo "Cleaning up."
361 +--- a/src/mapFile/Makefile
362 ++++ b/src/mapFile/Makefile
363 +@@ -38,7 +38,7 @@
364 +
365 + $(BUILT_OBJECTS): $(SOURCES)
366 + @echo " * compiling" $(*F).cpp
367 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
368 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
369 +
370 + clean:
371 + @echo "Cleaning up."
372 +--- a/src/maskFastaFromBed/Makefile
373 ++++ b/src/maskFastaFromBed/Makefile
374 +@@ -25,7 +25,7 @@
375 +
376 + $(BUILT_OBJECTS): $(SOURCES)
377 + @echo " * compiling" $(*F).cpp
378 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
379 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
380 +
381 + clean:
382 + @echo "Cleaning up."
383 +--- a/src/mergeFile/Makefile
384 ++++ b/src/mergeFile/Makefile
385 +@@ -40,7 +40,7 @@
386 +
387 + $(BUILT_OBJECTS): $(SOURCES)
388 + @echo " * compiling" $(*F).cpp
389 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
390 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
391 +
392 + clean:
393 + @echo "Cleaning up."
394 +--- a/src/multiBamCov/Makefile
395 ++++ b/src/multiBamCov/Makefile
396 +@@ -26,7 +26,7 @@
397 +
398 + $(BUILT_OBJECTS): $(SOURCES)
399 + @echo " * compiling" $(*F).cpp
400 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
401 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
402 +
403 + clean:
404 + @echo "Cleaning up."
405 +--- a/src/multiIntersectBed/Makefile
406 ++++ b/src/multiIntersectBed/Makefile
407 +@@ -27,7 +27,7 @@
408 +
409 + $(BUILT_OBJECTS): $(SOURCES)
410 + @echo " * compiling" $(*F).cpp
411 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
412 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
413 +
414 + clean:
415 + @echo "Cleaning up."
416 +--- a/src/nekSandbox1/Makefile
417 ++++ b/src/nekSandbox1/Makefile
418 +@@ -35,7 +35,7 @@
419 +
420 + $(BUILT_OBJECTS): $(SOURCES)
421 + @echo " * compiling" $(*F).cpp
422 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
423 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
424 +
425 + clean:
426 + @echo "Cleaning up."
427 +--- a/src/nucBed/Makefile
428 ++++ b/src/nucBed/Makefile
429 +@@ -27,7 +27,7 @@
430 +
431 + $(BUILT_OBJECTS): $(SOURCES)
432 + @echo " * compiling" $(*F).cpp
433 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
434 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
435 +
436 + clean:
437 + @echo "Cleaning up."
438 +--- a/src/pairToBed/Makefile
439 ++++ b/src/pairToBed/Makefile
440 +@@ -27,7 +27,7 @@
441 +
442 + $(BUILT_OBJECTS): $(SOURCES)
443 + @echo " * compiling" $(*F).cpp
444 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
445 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
446 +
447 + clean:
448 + @echo "Cleaning up."
449 +--- a/src/pairToPair/Makefile
450 ++++ b/src/pairToPair/Makefile
451 +@@ -27,7 +27,7 @@
452 +
453 + $(BUILT_OBJECTS): $(SOURCES)
454 + @echo " * compiling" $(*F).cpp
455 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
456 ++ $(CXX) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
457 +
458 +
459 + clean:
460 +--- a/src/randomBed/Makefile
461 ++++ b/src/randomBed/Makefile
462 +@@ -23,7 +23,7 @@
463 +
464 + $(BUILT_OBJECTS): $(SOURCES)
465 + @echo " * compiling" $(*F).cpp
466 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
467 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
468 +
469 + clean:
470 + @echo "Cleaning up."
471 +--- a/src/regressTest/Makefile
472 ++++ b/src/regressTest/Makefile
473 +@@ -24,24 +24,18 @@
474 + # ----------------------------------
475 + # define our source and object files
476 + # ----------------------------------
477 +-#SOURCES= regressTestMain.cpp RegressTest.cpp RegressTest.h
478 +-#OBJECTS= regressTestMain.o RegressTest.o
479 +-#BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
480 ++SOURCES= regressTestMain.cpp RegressTest.cpp RegressTest.h
481 ++OBJECTS= regressTestMain.o RegressTest.o
482 ++BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
483 + PROGRAM= regressTest
484 +
485 +-
486 +-all: #$(BUILT_OBJECTS)
487 +- @echo "compiling RegressTest.cpp"
488 +- @$(CXX) -c -o $(OBJ_DIR)/RegressTest.o RegressTest.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
489 +- @echo "compiling regressTestMain.cpp"
490 +- @$(CXX) -c -o $(OBJ_DIR)/regressTestMain.o regressTestMain.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
491 ++all: $(BUILT_OBJECTS)
492 +
493 + .PHONY: all
494 +
495 +-#$(BUILT_OBJECTS): $(SOURCES)
496 +-# @echo " * compiling" $(*F).cpp
497 +-# @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
498 +-
499 ++$(BUILT_OBJECTS): $(SOURCES)
500 ++ @echo " * compiling" $(*F).cpp
501 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
502 +
503 + clean:
504 + @echo "Cleaning up."
505 +--- a/src/reldist/Makefile
506 ++++ b/src/reldist/Makefile
507 +@@ -30,7 +30,7 @@
508 +
509 + $(BUILT_OBJECTS): $(SOURCES)
510 + @echo " * compiling" $(*F).cpp
511 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
512 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
513 +
514 + clean:
515 + @echo "Cleaning up."
516 +--- a/src/sampleFile/Makefile
517 ++++ b/src/sampleFile/Makefile
518 +@@ -37,7 +37,7 @@
519 +
520 + $(BUILT_OBJECTS): $(SOURCES)
521 + @echo " * compiling" $(*F).cpp
522 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
523 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
524 +
525 + clean:
526 + @echo "Cleaning up."
527 +--- a/src/shiftBed/Makefile
528 ++++ b/src/shiftBed/Makefile
529 +@@ -26,7 +26,7 @@
530 +
531 + $(BUILT_OBJECTS): $(SOURCES)
532 + @echo " * compiling" $(*F).cpp
533 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
534 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
535 +
536 + clean:
537 + @echo "Cleaning up."
538 +--- a/src/shuffleBed/Makefile
539 ++++ b/src/shuffleBed/Makefile
540 +@@ -28,7 +28,7 @@
541 +
542 + $(BUILT_OBJECTS): $(SOURCES)
543 + @echo " * compiling" $(*F).cpp
544 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
545 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
546 +
547 + clean:
548 + @echo "Cleaning up."
549 +--- a/src/slopBed/Makefile
550 ++++ b/src/slopBed/Makefile
551 +@@ -26,7 +26,7 @@
552 +
553 + $(BUILT_OBJECTS): $(SOURCES)
554 + @echo " * compiling" $(*F).cpp
555 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
556 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
557 +
558 + clean:
559 + @echo "Cleaning up."
560 +--- a/src/sortBed/Makefile
561 ++++ b/src/sortBed/Makefile
562 +@@ -26,7 +26,7 @@
563 +
564 + $(BUILT_OBJECTS): $(SOURCES)
565 + @echo " * compiling" $(*F).cpp
566 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
567 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
568 +
569 + clean:
570 + @echo "Cleaning up."
571 +--- a/src/spacingFile/Makefile
572 ++++ b/src/spacingFile/Makefile
573 +@@ -37,7 +37,7 @@
574 +
575 + $(BUILT_OBJECTS): $(SOURCES)
576 + @echo " * compiling" $(*F).cpp
577 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DFLAGS) $(INCLUDES)
578 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
579 +
580 + clean:
581 + @echo "Cleaning up."
582 +--- a/src/split/Makefile
583 ++++ b/src/split/Makefile
584 +@@ -25,7 +25,7 @@
585 +
586 + $(BUILT_OBJECTS): $(SOURCES)
587 + @echo " * compiling" $(*F).cpp
588 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
589 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
590 +
591 + clean:
592 + @echo "Cleaning up."
593 +--- a/src/subtractFile/Makefile
594 ++++ b/src/subtractFile/Makefile
595 +@@ -40,7 +40,7 @@
596 +
597 + $(BUILT_OBJECTS): $(SOURCES)
598 + @echo " * compiling" $(*F).cpp
599 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(DFLAGS) $(INCLUDES)
600 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
601 +
602 + clean:
603 + @echo "Cleaning up."
604 +--- a/src/tagBam/Makefile
605 ++++ b/src/tagBam/Makefile
606 +@@ -28,7 +28,7 @@
607 +
608 + $(BUILT_OBJECTS): $(SOURCES)
609 + @echo " * compiling" $(*F).cpp
610 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
611 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
612 +
613 + clean:
614 + @echo "Cleaning up."
615 +--- a/src/unionBedGraphs/Makefile
616 ++++ b/src/unionBedGraphs/Makefile
617 +@@ -27,7 +27,7 @@
618 +
619 + $(BUILT_OBJECTS): $(SOURCES)
620 + @echo " * compiling" $(*F).cpp
621 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
622 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
623 +
624 + clean:
625 + @echo "Cleaning up."
626 +--- a/src/utils/BamTools/Makefile
627 ++++ b/src/utils/BamTools/Makefile
628 +@@ -56,12 +56,12 @@
629 +
630 + $(LIBRARY): $(OBJECTS)
631 + @echo " * linking $(LIBRARY)"
632 +- ar cr $@ $^
633 ++ $(AR) cr $@ $^
634 + -ranlib $@
635 +
636 + $(OBJECTS): $(SOURCES)
637 + @echo " * compiling" $(*F).cpp
638 +- @$(CXX) -c $(*D)/$(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -o $(*D)/$(*F).o
639 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -o $(*D)/$(*F).o -c $(*D)/$(*F).cpp
640 +
641 + .PHONY: api
642 + api:
643 +--- a/src/utils/BamTools-Ancillary/Makefile
644 ++++ b/src/utils/BamTools-Ancillary/Makefile
645 +@@ -21,7 +21,7 @@
646 +
647 + $(BUILT_OBJECTS): $(SOURCES)
648 + @echo " * compiling" $(*F).cpp
649 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -L$(BT_ROOT)/lib
650 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -L$(BT_ROOT)/lib -c -o $@ $(*F).cpp
651 +
652 + clean:
653 + @echo "Cleaning up."
654 +--- a/src/utils/bedFile/Makefile
655 ++++ b/src/utils/bedFile/Makefile
656 +@@ -20,7 +20,7 @@
657 +
658 + $(BUILT_OBJECTS): $(SOURCES)
659 + @echo " * compiling" $(*F).cpp
660 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
661 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
662 +
663 + $(EXT_OBJECTS):
664 + @$(MAKE) --no-print-directory -C -W $(INCLUDES)
665 +--- a/src/utils/bedFilePE/Makefile
666 ++++ b/src/utils/bedFilePE/Makefile
667 +@@ -17,7 +17,7 @@
668 +
669 + $(BUILT_OBJECTS): $(SOURCES)
670 + @echo " * compiling" $(*F).cpp
671 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
672 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
673 +
674 + $(EXT_OBJECTS):
675 + @$(MAKE) --no-print-directory -C $(INCLUDES)
676 +--- a/src/utils/bedGraphFile/Makefile
677 ++++ b/src/utils/bedGraphFile/Makefile
678 +@@ -19,7 +19,7 @@
679 +
680 + $(BUILT_OBJECTS): $(SOURCES)
681 + @echo " * compiling" $(*F).cpp
682 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
683 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
684 +
685 + $(EXT_OBJECTS):
686 + @$(MAKE) --no-print-directory -C -W $(INCLUDES)
687 +--- a/src/utils/BinTree/Makefile
688 ++++ b/src/utils/BinTree/Makefile
689 +@@ -28,7 +28,7 @@
690 +
691 + $(BUILT_OBJECTS): $(SOURCES)
692 + @echo " * compiling" $(*F).cpp
693 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
694 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
695 +
696 + $(EXT_OBJECTS):
697 + @$(MAKE) --no-print-directory -C $(INCLUDES)
698 +--- a/src/utils/BlockedIntervals/Makefile
699 ++++ b/src/utils/BlockedIntervals/Makefile
700 +@@ -23,7 +23,7 @@
701 +
702 + $(BUILT_OBJECTS): $(SOURCES)
703 + @echo " * compiling" $(*F).cpp
704 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -L$(BT_ROOT)/lib
705 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -L$(BT_ROOT)/lib -c -o $@ $(*F).cpp
706 +
707 + $(EXT_OBJECTS):
708 + @$(MAKE) --no-print-directory -C $(INCLUDES)
709 +--- a/src/utils/chromsweep/Makefile
710 ++++ b/src/utils/chromsweep/Makefile
711 +@@ -20,7 +20,7 @@
712 +
713 + $(BUILT_OBJECTS): $(SOURCES)
714 + @echo " * compiling" $(*F).cpp
715 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
716 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
717 +
718 + $(EXT_OBJECTS):
719 + @$(MAKE) --no-print-directory -C $(INCLUDES)
720 +--- a/src/utils/Contexts/Makefile
721 ++++ b/src/utils/Contexts/Makefile
722 +@@ -36,7 +36,7 @@
723 +
724 + $(BUILT_OBJECTS): $(SOURCES)
725 + @echo " * compiling" $(*F).cpp
726 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
727 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
728 +
729 + clean:
730 + @echo "Cleaning up."
731 +--- a/src/utils/driver/Makefile
732 ++++ b/src/utils/driver/Makefile
733 +@@ -85,7 +85,7 @@
734 +
735 + $(BUILT_OBJECTS): $(SOURCES)
736 + @echo " * compiling" $(*F).cpp
737 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(DFLAGS) $(INCLUDES)
738 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
739 +
740 + clean:
741 + @echo "Cleaning up."
742 +--- a/src/utils/Fasta/Makefile
743 ++++ b/src/utils/Fasta/Makefile
744 +@@ -19,7 +19,7 @@
745 +
746 + $(BUILT_OBJECTS): $(SOURCES)
747 + @echo " * compiling" $(*F).cpp
748 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS)
749 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
750 +
751 + clean:
752 + @echo "Cleaning up."
753 +--- a/src/utils/FileRecordTools/FileReaders/Makefile
754 ++++ b/src/utils/FileRecordTools/FileReaders/Makefile
755 +@@ -32,7 +32,7 @@
756 +
757 + $(BUILT_OBJECTS): $(SOURCES)
758 + @echo " * compiling" $(*F).cpp
759 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
760 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
761 +
762 + clean:
763 + @echo "Cleaning up."
764 +--- a/src/utils/FileRecordTools/FileReaders/Makefile~
765 ++++ b/src/utils/FileRecordTools/FileReaders/Makefile~
766 +@@ -31,7 +31,7 @@
767 +
768 + $(BUILT_OBJECTS): $(SOURCES)
769 + @echo " * compiling" $(*F).cpp
770 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
771 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
772 +
773 + clean:
774 + @echo "Cleaning up."
775 +--- a/src/utils/FileRecordTools/Makefile
776 ++++ b/src/utils/FileRecordTools/Makefile
777 +@@ -34,9 +34,9 @@
778 +
779 + $(BUILT_OBJECTS): $(SOURCES)
780 + @echo " * compiling FileRecordMgr.cpp"
781 +- @$(CXX) -c -o $(OBJ_DIR)/FileRecordMgr.o FileRecordMgr.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
782 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $(OBJ_DIR)/FileRecordMgr.o FileRecordMgr.cpp
783 + @echo " * compiling FileRecordMergeMgr.cpp"
784 +- @$(CXX) -c -o $(OBJ_DIR)/FileRecordMergeMgr.o FileRecordMergeMgr.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
785 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $(OBJ_DIR)/FileRecordMergeMgr.o FileRecordMergeMgr.cpp
786 +
787 +
788 +
789 +--- a/src/utils/FileRecordTools/Records/Makefile
790 ++++ b/src/utils/FileRecordTools/Records/Makefile
791 +@@ -37,7 +37,7 @@
792 +
793 + $(BUILT_OBJECTS): $(SOURCES)
794 + @echo " * compiling" $(*F).cpp
795 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
796 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
797 +
798 + clean:
799 + @echo "Cleaning up."
800 +--- a/src/utils/fileType/Makefile
801 ++++ b/src/utils/fileType/Makefile
802 +@@ -22,7 +22,7 @@
803 +
804 + $(BUILT_OBJECTS): $(SOURCES)
805 + @echo " * compiling" $(*F).cpp
806 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
807 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
808 +
809 + clean:
810 + @echo "Cleaning up."
811 +--- a/src/utils/general/Makefile
812 ++++ b/src/utils/general/Makefile
813 +@@ -21,7 +21,7 @@
814 +
815 + $(BUILT_OBJECTS): $(SOURCES)
816 + @echo " * compiling" $(*F).cpp
817 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
818 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
819 +
820 + clean:
821 + @echo "Cleaning up."
822 +--- a/src/utils/GenomeFile/Makefile
823 ++++ b/src/utils/GenomeFile/Makefile
824 +@@ -20,9 +20,9 @@
825 +
826 + $(BUILT_OBJECTS): $(SOURCES) $(SUBDIRS)
827 + @echo " * compiling GenomeFile.cpp"
828 +- @$(CXX) -c -o $(OBJ_DIR)/GenomeFile.o GenomeFile.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
829 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $(OBJ_DIR)/GenomeFile.o GenomeFile.cpp
830 + @echo " * compiling NewGenomeFile.cpp"
831 +- @$(CXX) -c -o $(OBJ_DIR)/NewGenomeFile.o NewGenomeFile.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
832 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $(OBJ_DIR)/NewGenomeFile.o NewGenomeFile.cpp
833 +
834 + #$(EXT_OBJECTS):
835 + # @$(MAKE) --no-print-directory -C $(UTILITIES_DIR)/lineFileUtilities/
836 +--- a/src/utils/gzstream/Makefile
837 ++++ b/src/utils/gzstream/Makefile
838 +@@ -38,7 +38,7 @@
839 + UTILITIES_DIR = ../../utils/
840 +
841 + ${OBJ_DIR}/gzstream.o : gzstream.C gzstream.h
842 +- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $(OBJ_DIR)/gzstream.o gzstream.C $(INCLUDES)
843 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $(OBJ_DIR)/gzstream.o gzstream.C
844 +
845 + clean:
846 + @echo "Cleaning up."
847 +--- a/src/utils/KeyListOps/Makefile
848 ++++ b/src/utils/KeyListOps/Makefile
849 +@@ -31,7 +31,7 @@
850 +
851 + $(BUILT_OBJECTS): $(SOURCES)
852 + @echo " * compiling" $(*F).cpp
853 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
854 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
855 +
856 +
857 + $(EXT_OBJECTS):
858 +--- a/src/utils/NewChromsweep/Makefile
859 ++++ b/src/utils/NewChromsweep/Makefile
860 +@@ -34,7 +34,7 @@
861 +
862 + $(BUILT_OBJECTS): $(SOURCES)
863 + @echo " * compiling" $(*F).cpp
864 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
865 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
866 +
867 + clean:
868 + @echo "Cleaning up."
869 +--- a/src/utils/RecordOutputMgr/Makefile
870 ++++ b/src/utils/RecordOutputMgr/Makefile
871 +@@ -29,7 +29,7 @@
872 +
873 + $(BUILT_OBJECTS): $(SOURCES)
874 + @echo " * compiling" $(*F).cpp
875 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
876 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
877 +
878 + $(EXT_OBJECTS):
879 + @$(MAKE) --no-print-directory -C $(INCLUDES)
880 +--- a/src/utils/sequenceUtilities/Makefile
881 ++++ b/src/utils/sequenceUtilities/Makefile
882 +@@ -17,7 +17,7 @@
883 +
884 + $(BUILT_OBJECTS): $(SOURCES)
885 + @echo " * compiling" $(*F).cpp
886 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
887 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
888 +
889 + $(EXT_OBJECTS):
890 + @$(MAKE) --no-print-directory -C $(INCLUDES)
891 +--- a/src/utils/tabFile/Makefile
892 ++++ b/src/utils/tabFile/Makefile
893 +@@ -19,7 +19,7 @@
894 +
895 + $(BUILT_OBJECTS): $(SOURCES)
896 + @echo " * compiling" $(*F).cpp
897 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
898 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
899 +
900 + $(EXT_OBJECTS):
901 + @$(MAKE) --no-print-directory -C -W $(INCLUDES)
902 +--- a/src/utils/ToolBase/Makefile
903 ++++ b/src/utils/ToolBase/Makefile
904 +@@ -30,7 +30,7 @@
905 +
906 + $(BUILT_OBJECTS): $(SOURCES)
907 + @echo " * compiling" $(*F).cpp
908 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(INCLUDES)
909 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
910 +
911 + $(EXT_OBJECTS):
912 + @$(MAKE) --no-print-directory -C $(INCLUDES)
913 +--- a/src/utils/VectorOps/Makefile
914 ++++ b/src/utils/VectorOps/Makefile
915 +@@ -11,7 +11,7 @@
916 +
917 + $(BUILT_OBJECTS): $(SOURCES)
918 + @echo " * compiling" $(*F).cpp
919 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
920 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
921 +
922 + clean:
923 + @echo "Cleaning up."
924 +--- a/src/utils/version/Makefile
925 ++++ b/src/utils/version/Makefile
926 +@@ -20,7 +20,7 @@
927 +
928 + $(BUILT_OBJECTS): $(SOURCES) $(HEADERS)
929 + @echo " * compiling" $(*F).cpp
930 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS)
931 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
932 +
933 + clean:
934 + @echo "Cleaning up."
935 +--- a/src/windowBed/Makefile
936 ++++ b/src/windowBed/Makefile
937 +@@ -27,7 +27,7 @@
938 +
939 + $(BUILT_OBJECTS): $(SOURCES)
940 + @echo " * compiling" $(*F).cpp
941 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
942 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
943 +
944 + clean:
945 + @echo "Cleaning up."
946 +--- a/src/windowMaker/Makefile
947 ++++ b/src/windowMaker/Makefile
948 +@@ -26,7 +26,7 @@
949 +
950 + $(BUILT_OBJECTS): $(SOURCES)
951 + @echo " * compiling" $(*F).cpp
952 +- @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES)
953 ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(INCLUDES) -c -o $@ $(*F).cpp
954 +
955 + $(EXT_OBJECTS):
956 + @$(MAKE) --no-print-directory -C $(UTILITIES_DIR)/genomeFile/