]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/libAliPythia6.pkg
Restored compilation on Windows/Cygwin
[u/mrichter/AliRoot.git] / PYTHIA6 / libAliPythia6.pkg
index a2d4497983559f2502d057c9dcf7f3b56367ae31..5112ae5caea631a435c52ec1403321bd636f9fdb 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= AliPythiaBase.cxx AliPythia.cxx AliPythia6.cxx AliGenPythia.cxx AliGenPythiaPlus.cxx AliDecayerPythia.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
@@ -7,3 +9,9 @@ DHDR:=AliPythia6LinkDef.h
 EXPORT:=AliPythiaBase.h AliPythia.h AliDecayerPythia.h
 
 EINCLUDE:=FASTSIM
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEERBase -lSTEER -lEVGEN -lpythia6 -lFASTSIM -llhapdf \
+                         -L$(shell root-config --libdir) -lEG -lEGPythia6
+endif