Compilation on Windows/Cygwin
[u/mrichter/AliRoot.git] / TTherminator / libTTherminator.pkg
index 7a223f7..0f636f6 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= AliGenTherminator.cxx \
       TTherminator.cxx \
       Therminator/DecayChannel.cxx \
@@ -22,3 +24,9 @@ EINCLUDE:= TTherminator/Therminator TTherminator
 
 PACKCXXFLAGS:=$(filter-out -Weffc++,$(CXXFLAGS))
 PACKDCXXFLAGS:=$(filter-out -Weffc++,$(CXXFLAGSNO))
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lSTEERBase -lEVGEN \
+                         -L$(shell root-config --libdir) -lEG
+endif