Commit 25a167ce authored by Erik Asbjørn Mikkelsen Jensen's avatar Erik Asbjørn Mikkelsen Jensen
Browse files

added conditional sourcing of in Makefile

parent 6a20da66
SHELL := /bin/bash
CXX = $$(root-config --cxx)
CXXFLAGS = -Wall $$(root-config --cflags)
LDLIBS = $$(root-config --glibs)
......@@ -18,7 +16,11 @@ default: nuchart.root
all: default $(EXAMPLE_FIGURES) qbn.dat
nuchart.root: expand-nuchart-QEC expand-nuchart-QBxn-QBxp-QBa
ifeq ($(ROOTSYS), ) # source if ROOTSYS is not defined
source $$(root-config --bindir)/ && python3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment