Skip to content

Commit

Permalink
updated makefile
Browse files Browse the repository at this point in the history
fix dependency issues for the gsl library.
  • Loading branch information
masakistan authored Jan 26, 2017
1 parent 889c5b1 commit 91c3cf1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ $(MPI_EXE_NAME) : $(EXE_OBJ_FILES) $(INC_FILES) inc/ScoredSeq.h inc/SeqManager.h
$(MPIXX) $(FLAGS) -o $(MPI_EXE_NAME) $(EXE_OBJ_FILES) $(INC) $(LIB) $(EXTRA_FLAGS)

obj/Driver.o : src/Driver.cpp $(INC_FILES) inc/a_matrices.c inc/SequenceOperations.h \
inc/align_seq2_raw.cpp
inc/align_seq2_raw.cpp $(GSL_LIB_FILE)
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

obj/TestDriver.o : test/TestDriver.cpp
obj/TestDriver.o : test/TestDriver.cpp $(GSL_LIB_FILE)
$(GXX) $(FLAGS) -o obj/TestDriver.o -c test/TestDriver.cpp $(INC)

$(CONV_EXE_NAME) : $(CONV_OBJ_FILES) $(CONV_INC_FILES)
Expand All @@ -169,7 +169,7 @@ $(BATCH_CONS_EXE) : $(BATCH_CONS_OBJ_FILES) $(BATCH_CONS_INC_FILES)
obj/sam2consensus.o : src/sam2consensus.cpp inc/a_matrices.c
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

obj/GenomeMem.o : src/GenomeMem.cpp inc/GenomeMem.h
obj/GenomeMem.o : src/GenomeMem.cpp inc/GenomeMem.h $(GSL_LIB_FILE)
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

obj/utils.o : src/utils.c inc/utils.h
Expand All @@ -181,7 +181,10 @@ obj/bwt.o : src/bwt.c inc/bwt.h
obj/bntseq.o : src/bntseq.c inc/bntseq.h
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

obj/GenomeBwt.o : src/GenomeBwt.cpp inc/GenomeBwt.h
obj/GenomeBwt.o : src/GenomeBwt.cpp inc/GenomeBwt.h $(GSL_LIB_FILE)
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

obj/Genome.o : src/Genome.cpp inc/Genome.h $(GSL_LIB_FILE)
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

obj/bwtindex.o : src/bwtindex.c
Expand All @@ -196,7 +199,7 @@ obj/bwt_gen.o : src/bwt_gen.c
obj/QSufSort.o : src/QSufSort.c inc/QSufSort.h
$(GCC) $(FLAGS) -o $@ -c $< $(INC)

obj/%.o : src/%.cpp inc/%.h
obj/%.o : src/%.cpp inc/%.h $(GSL_LIB_FILE)
$(GXX) $(FLAGS) -o $@ -c $< $(INC)

# valgrind --tool=memcheck --leak-check=full --show-reachable=yes --suppressions=test/string.supp $(EXE_NAME) \
Expand Down

0 comments on commit 91c3cf1

Please sign in to comment.