--- sar_tools/Makefile.orig	2017-06-30 08:24:34.000000000 +0200
+++ sar_tools/Makefile	2017-06-30 08:26:23.000000000 +0200
@@ -23,10 +23,10 @@
 
 ### Installdirdef should exist!
 #INSTALL_DIR =	/usr/local/bin
-INSTALL_DIR =	/home/dlevelt/src/Doris_s1_git/bin
+INSTALL_DIR =   ${INSTALLDIR}	
 
 ### GCC compiler
-CC 	=	g++
+CC 	=	${CXX}
 CFLAGS  =       -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -D_LARGEFILE64_SOURCE #-m32 to force 32bit on 64bit platform
 
 ### Intel compiler
