Skip to content

Commit

Permalink
fix makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Palmer authored and Jon Palmer committed Oct 24, 2017
1 parent 52d2304 commit c88fcad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion auxprogs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all:
cd bam2hints; make CXX=$(BAMTOOLS_CXX) CC=$(BAMTOOLS_CC) BAMTOOLS=$(BAMTOOLS);
cd compileSpliceCands; make CXX=$(BAMTOOLS_CXX) CC=$(BAMTOOLS_CC);
cd filterBam; make CXX=$(BAMTOOLS_CXX) CC=$(BAMTOOLS_CC) BAMTOOLS=$(BAMTOOLS);
cd homGeneMapping; make CXX=$(BAMTOOLS_CXX) CC=$(BAMTOOLS_CC);
cd homGeneMapping; make CXX=$(BAMTOOLS_CXX) CC=$(BAMTOOLS_CC);
cd joingenes; make CXX=$(BAMTOOLS_CXX) CC=$(BAMTOOLS_CC);
clean:
cd bam2hints; make clean;
Expand Down
12 changes: 5 additions & 7 deletions auxprogs/bam2hints/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Makefile corresponding to BAM2HINTS
#
# NOTE:
# NOTE:
# a) "-g" option allows for debugging
# b) libbamtools.a and lz library are used during the linking process
#
# Created: 14-December-2011
# Last modified: 23-October-2017 by Jon Palmer
# Created: 14-December-2011
# Last modified: 23-October-2017 by Jon Palmer

# Variable definition
BAMTOOLS=/usr/local/bamtools
Expand All @@ -15,13 +15,11 @@ SOURCES = bam2hints.cc
OBJECTS = $(SOURCES:.cc=.o)
CFLAGS = -Wall -O0 -g -ggdb # -g -p

echo "bam2hints building with Bamtools located at ${BAMTOOLS}"

# Recipe(s)
# $@: full target name of current target.
# $<: .c file of target.
bam2hints : $(OBJECTS)
$(CXX) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS)
bam2hints : $(OBJECTS)
$(CXX) $(CFLAGS) -o$@ $(OBJECTS) $(LIBS)
cp bam2hints ../../bin

all:$(OBJECTS) # Compiles each foo.cc into foo.o
Expand Down
3 changes: 1 addition & 2 deletions auxprogs/filterBam/src/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Makefile for filterBam
#
# Created: 11-November-2011
# Created: 11-November-2011
# Last modified: 4-March-2012


Expand All @@ -14,7 +14,6 @@ LIBS = $(BAMTOOLS)/lib/libbamtools.a -lz
CFLAGS = -std=c++0x
VPATH = functions
INSTDIR = ../bin
echo "filterBam building with Bamtools located at: ${BAMTOOLS}"

all : $(PROGRAM) $(OBJECTS) CHECKBAM BIN

Expand Down

0 comments on commit c88fcad

Please sign in to comment.