+# -*- mode: makefile -*-
# Makefile for AliRoot for Itanium/Linux with gcc
# System dependent commands
XARGS = xargs -r
-# The compilers
-CXX = g++
-F77 = g77
-CC = gcc
-
# Global optimisation
OPT = -g -O
NOOPT = -g
# rootcint flags
CINTFLAGS =
-LD = g++
+LD = $(shell root-config --ld)
LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
SHLD = $(LD)