-CSRCS:= \
-main.c pythia6_address.c
+#-*- Mode: Makefile -*-
+SRCS= AliPythiaRndm.cxx
+HDRS= $(SRCS:.cxx=.h)
-FSRCS:= \
-pythia6150.F \
-pythia6_common_block_address.F \
-pdf_alice.F\
-tpythia6_called_from_cc.F
+DHDR:=pythia6LinkDef.h
+EXPORT:=
+CSRCS:= \
+main.c pythia6_common_address.c
+FSRCS:= \
+pythia6_common_block_address.F \
+tpythia6_called_from_cc.F\
+pythia6214.f \
+pydummy.f \
+pdf_alice.F
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+ -lmicrocern -llhapdf
+endif