Reverting changes in STAT waiting for fixes
[u/mrichter/AliRoot.git] / STAT / libSTAT.pkg
index e74c2d35bb43f355d63b790d4e774f21b199697d..dbfc7205897e03b9d155dd15ccebc3bf37704349 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS=  TKDTree.cxx \
   TKDInterpolatorBase.cxx \
   TKDNodeInfo.cxx \
@@ -9,4 +11,10 @@ SRCS=  TKDTree.cxx \
 
 HDRS= $(SRCS:.cxx=.h)
 
-DHDR:=StatLinkDef.h
+DHDR:=STATLinkDef.h
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lCDB \
+                         -L$(shell root-config --libdir) -lMinuit
+endif