]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG0/Makefile
updating makefile to include evgen headers to compile systematics selector
[u/mrichter/AliRoot.git] / PWG0 / Makefile
index 38bc8679a28277b3e7f56df8f6629525277cc704..dab6032ce083e3df53703c3958b3c1304d359d39 100644 (file)
@@ -8,13 +8,18 @@ ALICEINC      = -I.
 
 ### define include dir for local case and par case
 ifneq ($(ALICE_ROOT),)
-  ALICEINC += -I$(ALICE_ROOT)/include
+  ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/PYTHIA6 -I$(ALICE_ROOT)/EVGEN
 else
   ifneq ($(ESD_INCLUDE),)
     ALICEINC += -I../$(ESD_INCLUDE)
   endif
 endif
 
+# for building of PWG0dep.par
+ifneq ($(PWG0base_INCLUDE),)
+  ALICEINC += -I../$(PWG0base_INCLUDE)
+endif
+
 CXXFLAGS     += $(ALICEINC) -g
 
 PACKAGE = PWG0base
@@ -64,17 +69,17 @@ $(PACKAGE)/Makefile: Makefile #.$(PACKAGE)
 $(PACKAGE)/Makefile.arch: $(ROOTSYS)/test/Makefile.arch
        @echo Copying $< to $@
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @cp $^ $@
+       @cp -a $^ $@
 
 $(PACKAGE)/PROOF-INF: PROOF-INF.$(PACKAGE)
        @echo Copying $< to $@
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @cp -r $^ $@
+       @cp -a -r $^ $@
 
 $(PACKAGE)/%: %
        @echo Copying $< to $@
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @cp $< $@
+       @cp -a $< $@
 
 test-%.par: %.par
        @echo "INFO: The file $< is now tested, in case of an error check in par-tmp."