Commit 49071c57 authored by Aaron's avatar Aaron
Browse files

fixed util Makefiles to recompile when header changes

parent e428cfa4
......@@ -2,12 +2,16 @@ OBJ_DIR = ../../../obj/
BIN_DIR = ../../../bin/
UTILITIES_DIR = ../
INCLUDES = -I$(UTILITIES_DIR)/BamTools/include -I$(UTILITIES_DIR)/bedFile/ -I$(UTILITIES_DIR)/lineFileUtilities/ -I$(UTILITIES_DIR)/gzstream/ -I$(UTILITIES_DIR)/fileType/
INCLUDES = -I$(UTILITIES_DIR)/BamTools/include \
-I$(UTILITIES_DIR)/bedFile/ \
-I$(UTILITIES_DIR)/lineFileUtilities/ \
-I$(UTILITIES_DIR)/gzstream/ \
-I$(UTILITIES_DIR)/fileType/
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= BamAncillary.cpp
SOURCES= BamAncillary.cpp BamAncillary.h
OBJECTS= $(SOURCES:.cpp=.o)
BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
......
......@@ -11,7 +11,7 @@ INCLUDES = -I$(UTILITIES_DIR)/BamTools/include \
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= BlockedIntervals.cpp
SOURCES= BlockedIntervals.cpp BlockedIntervals.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=bedFile.o fileType.o gzstream.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -9,7 +9,7 @@ INCLUDES =
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= Fasta.cpp split.cpp
SOURCES= Fasta.cpp Fasta.h split.cpp split.h
OBJECTS= $(SOURCES:.cpp=.o)
BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
......
......@@ -5,7 +5,7 @@ UTILITIES_DIR = ../../utils/
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= VectorOps.cpp
SOURCES= VectorOps.cpp VectorOps.h
OBJECTS= $(SOURCES:.cpp=.o)
BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
......
......@@ -4,12 +4,15 @@ UTILITIES_DIR = ../../utils/
# -------------------
# define our includes
# -------------------
INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ -I$(UTILITIES_DIR)/gzstream/ -I$(UTILITIES_DIR)/fileType/ -I$(UTILITIES_DIR)/stringUtilities/
INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ \
-I$(UTILITIES_DIR)/gzstream/ \
-I$(UTILITIES_DIR)/fileType/ \
-I$(UTILITIES_DIR)/stringUtilities/
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= bedFile.cpp
SOURCES= bedFile.cpp bedFile.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=lineFileUtilities.o gzstream.o fileType.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -9,7 +9,7 @@ INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ -I$(UTILITIES_DIR)/bedFile/ -I$
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= bedFilePE.cpp
SOURCES= bedFilePE.cpp bedFilePE.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=lineFileUtilities.o fileType.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -11,7 +11,7 @@ INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ \
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= bedGraphFile.cpp
SOURCES= bedGraphFile.cpp bedGraphFile.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=lineFileUtilities.o gzstream.o fileType.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -12,7 +12,7 @@ INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ \
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= chromsweep.cpp
SOURCES= chromsweep.cpp chromsweep.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=lineFileUtilities.o fileType.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -9,7 +9,7 @@ INCLUDES =
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= fileType.cpp
SOURCES= fileType.cpp fileType.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -11,7 +11,7 @@ INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ \
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= genomeFile.cpp
SOURCES= genomeFile.cpp genomeFile.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=lineFileUtilities.o fileType.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -9,7 +9,7 @@ INCLUDES =
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= lineFileUtilities.cpp
SOURCES= lineFileUtilities.cpp lineFileUtilities.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -9,7 +9,7 @@ INCLUDES =
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= sequenceUtils.cpp
SOURCES= sequenceUtils.cpp sequenceUtils.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS =
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
......@@ -9,7 +9,7 @@ INCLUDES = -I$(UTILITIES_DIR)/lineFileUtilities/ -I$(UTILITIES_DIR)/gzstream/ -I
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES= tabFile.cpp
SOURCES= tabFile.cpp tabFile.h
OBJECTS= $(SOURCES:.cpp=.o)
_EXT_OBJECTS=lineFileUtilities.o gzstream.o fileType.o
EXT_OBJECTS=$(patsubst %,$(OBJ_DIR)/%,$(_EXT_OBJECTS))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment