5 INCLUDES = -I$(API_DIR)/
7 # ----------------------------------
8 # define our source and object files
9 # ----------------------------------
10 SOURCES = bamtools_fasta.cpp \
11 bamtools_options.cpp \
13 bamtools_utilities.cpp
14 OBJECTS= $(SOURCES:.cpp=.o)
15 BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
19 $(BUILT_OBJECTS): $(SOURCES)
20 @echo " * compiling" $(*F).cpp
21 @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(INCLUDES)
27 @rm -f $(OBJ_DIR)/* $(BIN_DIR)/*