Ignore:
Timestamp:
Jan 8, 2010, 3:02:48 PM (16 years ago)
Author:
garnier
Message:

update to geant4.9.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/radioactivedecay/exrdm/GNUmakefile

    r807 r1230  
    1 # $Id: GNUmakefile,v 1.4 2006/12/21 17:52:39 flei Exp $
     1# $Id: GNUmakefile,v 1.9 2008/12/05 09:57:30 flei Exp $
    22# --------------------------------------------------------------
    33# GNUmakefile for examples module
     
    1212endif
    1313
    14 ifdef G4ANALYSIS_USE_ROOT
    15 CPPFLAGS += -DG4ANALYSIS_USE_ROOT
    16 CPPFLAGS += -D_REENTRANT -I$(ROOTSYS)/include
    17 
    18 EXTRALIBS += -L$(ROOTSYS)/lib \
    19 -lCore -lCint \
    20 -lHist -lGraf -lGraf3d -lGpad \
    21 -lTree -lRint -lPostscript \
    22 -lMatrix -lPhysics \
    23 -lm -ldl -lpthread -rdynamic
    24 
    25 endif
    26 
    27 ifdef G4ANALYSIS_USE_AIDA
    28    CPPFLAGS += -DG4ANALYSIS_USE_AIDA
    29    CPPFLAGS += `aida-config --include`
    30    LDLIBS += `aida-config --lib`
    31 endif
    32 
    3314.PHONY: all
    3415all: lib bin
    3516
     17ifdef G4ANALYSIS_USE_ROOT
     18  CPPFLAGS += -DG4ANALYSIS_USE_ROOT
     19endif
     20
     21include $(G4INSTALL)/config/architecture.gmk
     22
     23ifdef G4ANALYSIS_USE_ROOT
     24  CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags)
     25  LDFLAGS  += $(shell $(ROOTSYS)/bin/root-config --glibs)
     26endif
     27
    3628include $(G4INSTALL)/config/binmake.gmk
    3729
     30anaclean:
     31        rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/exrdmHisto*
     32        rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/exrdmAnalysis*
     33        rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/exrdmStepping*
Note: See TracChangeset for help on using the changeset viewer.