Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 09:41:05

0001 # $Id: GNUmakefile 68058 2013-03-13 14:47:43Z gcosmo $
0002 # --------------------------------------------------------------
0003 # GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
0004 # --------------------------------------------------------------
0005 
0006 name := STCyclotron
0007 G4TARGET := $(name)
0008 G4EXLIB := true
0009 
0010 ifndef G4INSTALL
0011   G4INSTALL = ../../..
0012 endif
0013 
0014 .PHONY: all
0015 all: lib bin
0016 
0017 ifdef G4ANALYSIS_USE_ROOT
0018   CPPFLAGS += -DG4ANALYSIS_USE_ROOT 
0019 endif
0020 
0021 include $(G4INSTALL)/config/architecture.gmk
0022 
0023 ifdef G4ANALYSIS_USE_ROOT
0024   CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags)
0025   LDFLAGS  += $(shell $(ROOTSYS)/bin/root-config --glibs)
0026 endif
0027 
0028 include $(G4INSTALL)/config/binmake.gmk
0029 
0030 visclean:
0031         rm -f g4*.prim g4*.eps g4*.wrl
0032         rm -f .DAWN_*
0033 
0034 anaclean:
0035         rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SahmriG4Histo* 
0036         rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SahmriG4Analysis* 
0037         rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SahmriG4Stepping*