+#-*- Mode: Makefile -*-
-SRCS:= AliTreeDraw.cxx \
- AliGenInfo.cxx
+ORGSRCS := $(wildcard PWG1/*.cxx)
+ORGSRCS += $(wildcard PWG1/global/*.cxx)
+ORGSRCS += $(wildcard PWG1/ITS/*.cxx)
+ORGSRCS += $(wildcard PWG1/TPC/*.cxx)
+ORGSRCS += $(wildcard PWG1/TRD/*.cxx)
+ORGSRCS += $(wildcard PWG1/TRD/info/*.cxx)
+SRCS:= $(patsubst PWG1/%, %, ${ORGSRCS})
HDRS:= $(SRCS:.cxx=.h)
-
DHDR:= PWG1LinkDef.h
-EINCLUDE:= TPC
+EINCLUDE:= STEER TPC ITS TRD
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) -lSTEERBase \
+ -lESD -lSTEER -lTPCbase \
+ -lANALYSISalice -lANALYSIS \
+ -L$(ROOTLIBDIR) -lMinuit -lEG -lGeom
+endif