From b36e4a03b1642b3b5cc0fa60521e1c8bc4b14322 Mon Sep 17 00:00:00 2001 From: matta <matta@npt> Date: Fri, 6 Nov 2009 03:44:53 +0000 Subject: [PATCH] * Adding DUMMYDetectorData to lib list and updating NPS make file - Now NPS also use the liblist --- NPLib/liblist | 1 + NPSimulation/GNUmakefile | 12 +++++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/NPLib/liblist b/NPLib/liblist index 3dc5f8fea..d043d2961 100755 --- a/NPLib/liblist +++ b/NPLib/liblist @@ -4,4 +4,5 @@ echo -L$NPLIB/lib -lVDetector -lDetectorManager -lCalibrationManager -lIORoot - -lPlasticData -lPlasticPhysics \ -lAnnularS1Data \ -lGaspardData -lGaspardPhysics \ + -lDUMMYDetectorData \ -lInitialConditions -lInteractionCoordinates diff --git a/NPSimulation/GNUmakefile b/NPSimulation/GNUmakefile index 3d960a57e..fb24e6a62 100644 --- a/NPSimulation/GNUmakefile +++ b/NPSimulation/GNUmakefile @@ -1,6 +1,6 @@ # $Id: GNUmakefile,v 1.1 1999/01/07 16:05:40 gunter Exp $ # -------------------------------------------------------------- -# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. +# GNUmakefile based on examples module by Gabriele Cosmo, 06/04/98. # -------------------------------------------------------------- name := Simulation @@ -11,17 +11,15 @@ ifndef G4INSTALL G4INSTALL = ../../.. endif -#G4 work directory is the path where -#Result of compilation is put +# G4 work directory is the path where +# Result of compilation is put in (./$G4WORKDIR/bin/$G4SYSTEM/) # to execute your programm : ./$G4WORKDIR/bin/$G4SYSTEM/Simulation xx.reaction xx.detector G4WORKDIR = ./ CPPFLAGS += $(shell root-config --cflags) CPPFLAGS += -I$(NPLIB)/include -EXTRALIBS = $(shell root-config --glibs) -EXTRALIBS += -L$(NPLIB)/lib -lMust2Data -lAnnularS1Data -lGaspardData -lPlasticData -lDUMMYDetectorData -lSSSDData\ - -lInitialConditions -lInteractionCoordinates \ - -lReaction -lIORoot +EXTRALIBS = $(shell root-config --glibs) -lMathMore +EXTRALIBS += `$(NPLIB)/liblist` .PHONY: all all: lib bin -- GitLab