Compilation on Windows/Cygwin
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Feb 2008 17:14:18 +0000 (17:14 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Feb 2008 17:14:18 +0000 (17:14 +0000)
PYTHIA6/libAliPythia6.pkg
PYTHIA6/libpythia6.pkg

index b81ec02697543f06b465cb15d8dbce5f43bb37d9..168d322bfb8f522176d4f82ff3cc3d91f063e7db 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= AliPythia.cxx AliGenPythia.cxx AliDecayerPythia.cxx \
 AliGenPythiaJets.cxx
 
@@ -8,3 +10,9 @@ DHDR:=AliPythia6LinkDef.h
 EXPORT:=AliPythia.h AliDecayerPythia.h
 
 EINCLUDE:=FASTSIM
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lEVGEN -lSTEER -lpythia6 -lSTEERBase -lFASTSIM \
+                         -L$(shell root-config --libdir) -lVMC -lEG -lEGPythia6
+endif
index 2050bc53e582c857a806d7c42c6922d4f4c24bbd..aff45a5e8ea86e2db9a2866816b5c7be3ec40fa3 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS:=AliPythiaRndm.cxx
 
 HDRS= $(SRCS:.cxx=.h) 
@@ -18,4 +20,7 @@ tpythia6_called_from_cc.F\
 openDecayTable.F\
 pyquen1_3.F
 
-
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lmicrocern -llhapdf
+endif