endif
# The compilers
-CXX = g++
-CC = gcc
+CXX = $(shell root-config --cxx)
+CC = $(shell root-config --cc)
F77 = $(shell root-config --f77)
# Global optimisation
LD = export MACOSX_DEPLOYMENT_TARGET=$(MACOSX_MAJOR).$(MACOSX_MINOR) ; \
unset LD_PREBIND ; \
- g++
+ $(shell root-config --ld)
LDFLAGS = $(OPT) $(DICTLOAD)
SHLD := $(LD)