Skip to content
Snippets Groups Projects
Commit e7379ae8 authored by Christian Krause's avatar Christian Krause
Browse files

adds make install target

parent 91928cf2
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@ export CXXFLAGS = -Wall -O2 -D_FILE_OFFSET_BITS=64 -fPIC $(INCLUDES)
export LIBS = -lz
export BT_ROOT = src/utils/BamTools/
prefix = /usr/local
SUBDIRS = $(SRC_DIR)/annotateBed \
$(SRC_DIR)/bamToBed \
$(SRC_DIR)/bamToFastq \
......@@ -107,6 +109,12 @@ all: print_banner $(OBJ_DIR) $(BIN_DIR) autoversion $(UTIL_SUBDIRS) $(SUBDIRS)
.PHONY: all
install: all
mkdir -p $(DESTDIR)$(prefix)/bin
for file in bin/* ; do \
cp -f $$file $(DESTDIR)$(prefix)/bin; \
done
print_banner:
@echo "Building BEDTools:"
@echo "========================================================="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment