Skip to content
Snippets Groups Projects
Commit 0292f311 authored by Aaron Quinlan's avatar Aaron Quinlan
Browse files

Merge pull request #142 from wookietreiber/wip-make-install-target

adds make install target
parents 91928cf2 e7379ae8
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