1 # ==========================
3 # (c) 2010 Derek Barnett
6 # ==========================
12 INCLUDES = -I$(API_DIR)/
14 # ----------------------------------
15 # define our source and object files
16 # ----------------------------------
17 SOURCES = bamtools_fasta.cpp \
18 bamtools_filter_engine.cpp \
19 bamtools_options.cpp \
21 bamtools_utilities.cpp
22 OBJECTS= $(SOURCES:.cpp=.o)
23 BUILT_OBJECTS= $(patsubst %,$(OBJ_DIR)/%,$(OBJECTS))
27 $(BUILT_OBJECTS): $(SOURCES)
28 @echo " * compiling" $(*F).cpp
29 @$(CXX) -c -o $@ $(*F).cpp $(LDFLAGS) $(CXXFLAGS) $(INCLUDES)
35 @rm -f $(OBJ_DIR)/* $(BIN_DIR)/*