aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2018-07-14 13:10:41 +0200
committerPjotr Prins2018-07-14 13:10:41 +0200
commitd42329ed84e99f9ab351af291c42dbd06ca9cb59 (patch)
treeb7b32a259c0808a2891932f8d0a653b59adbb90b /Makefile
parent3f120a438bd9ce981a43058f47bb2bb05f86fc1e (diff)
downloadpangemma-d42329ed84e99f9ab351af291c42dbd06ca9cb59.tar.gz
Guix: add more build information to the final binary
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6401228..775a40e 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,7 @@ else
OPENBLAS_INCLUDE_PATH = .
EIGEN_INCLUDE_PATH = $(GUIX)/include/eigen3
RPATH = -Xlinker --rpath=$(GUIX)/lib
+ PROFILE =$(realpath $(GUIX))
endif
endif
@@ -184,7 +185,7 @@ OBJS = $(SOURCES:.cpp=.o)
all: $(OUTPUT)
./src/version.h: ./VERSION
- $(VGEN) > src/version.h
+ $(VGEN) $(PROFILE) > src/version.h
$(OUTPUT): $(OBJS)
$(CPP) $(CPPFLAGS) $(OBJS) $(LIBS) -o $(OUTPUT)