# -*- mode: makefile -*-
# Makefile for AliRoot for MacOS X using the IBM xlc compiler
-# The compilers
-CXX = xlC
-F77 = xlf
-CC = xlc
-
# Global optimisation
OPT = -qnoopt #-O3 -g
NOOPT = -qnoopt
# rootcint flags
CINTFLAGS =
-
-LD = xlC
+LD = $(shell root-config --cxx)
LDFLAGS = $(OPT)
SHLD := export MACOSX_DEPLOYMENT_TARGET=10.3 ; \