forked from root-project/roottest
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (22 loc) · 766 Bytes
/
Makefile
File metadata and controls
25 lines (22 loc) · 766 Bytes
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
# %ROOTTEST-duration%:1
CLEAN_TARGETS += *.pyc
ifeq ($(strip $(ROOTTEST_HOME)),)
export ROOTTEST_HOME := $(shell git rev-parse --show-toplevel)/
ifeq ($(strip $(ROOTTEST_HOME)),)
export ROOTTEST_HOME := $(shell expr $(CURDIR) : '\(.*/roottest/\)')
endif
ifeq ($(strip $(ROOTTEST_HOME)),)
$(error The head of roottest was not found. Set ROOTTEST_HOME)
endif
endif
ifeq ($(HAS_PYTHON),)
export HAS_PYTHON := $(shell root-config --has-python)
endif
ifeq ($(HAS_PYTHON),yes)
include $(ROOTTEST_HOME)/scripts/Rules.mk
# prevent spurious printout of control characters that occur with certain
# combinations of readline and ncurses (e.g. 5.2 and 5.6, respectively)
export TERM=vt100
else
include $(ROOTTEST_HOME)/scripts/Disable.mk
endif