+# -*- mode: makefile -*-
# Makefile to build AliRoot for Alpha OSF1
# System dependent commands
XARGS = xargs
# The compilers
-CXX = cxx
-F77 = f77
+CXX = $(shell root-config --cxx)
+F77 = $(shell root-config --f77)
+CC = $(shell root-config --cc)
# Global optimisation
OPT = -O
# rootcint flags
CINTFLAGS = -D__DECCXX
-
-LD = cxx
+
+LD = $(shell root-config --ld)
LDFLAGS =
SHLD = ld