forked from statgen/glfFlex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (22 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
EXE=glfFlex
TOOLBASE = GlfLikelihoods MathGold
HDRONLY = pFile.h
SRCONLY = Main.cpp index.c
USER_INCLUDES = -I../include/ -I../tabix
OBJDIR = obj
BINDIR=bin
VERSION=0.1.1
DATE=$(shell date)
USER=$(shell whoami)
USER_COMPILE_VARS = -DDATE="\"${DATE}\"" -DVERSION="\"${VERSION}\"" -DUSER="\"${USER}\""
#COMPILE_ANY_CHANGE = glfFlex
LIB_PATH_GENERAL ?=../libStatGen
LIB_PATH_BAM_UTIL ?= $(LIB_PATH_GENERAL)
include $(LIB_PATH_BAM_UTIL)/Makefiles/Makefile.src
$(LIB_PATH_BAM_UTIL)/Makefiles/Makefile.src:
@echo Unable to locate: $(LIB_PATH_BAM_UTIL)/Makefiles/Makefile.src
@echo To change the location, set LIB_PATH_GENERAL or LIB_PATH_BAM_UTIL to the appropriate path to libStatGen. Or specify \"make LIB_PATH_GENERAL=yourPath\" or \"make LIB_PATH_BAM_UTIL=yourPath\"
@echo Use make download if you have git and want to download the current libStatGen to that location
download:
git clone git://github.com/statgen/libStatGen.git $(LIB_PATH_BAM_UTIL)
# if test -d $(LIB_PATH_BAM_UTIL); then echo found; else echo not found; fi