Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.1 2007/08/16 10:32:04 vnivanch Exp $ 1 # -------------------------------------------- 2 # -------------------------------------------------------------- 2 # GNUmakefile for examples module. Gabriele C 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. 3 # -------------------------------------------- 4 # -------------------------------------------------------------- 4 5 5 name := monopole 6 name := monopole 6 G4TARGET := $(name) 7 G4TARGET := $(name) 7 G4EXLIB := true 8 G4EXLIB := true 8 9 9 ifndef G4INSTALL 10 ifndef G4INSTALL 10 G4INSTALL = ../../../.. 11 G4INSTALL = ../../../.. 11 endif 12 endif 12 13 13 .PHONY: all 14 .PHONY: all 14 all: lib bin 15 all: lib bin 15 16 >> 17 ifdef G4ANALYSIS_USE >> 18 CPPFLAGS += -DG4ANALYSIS_USE >> 19 endif >> 20 16 include $(G4INSTALL)/config/architecture.gmk 21 include $(G4INSTALL)/config/architecture.gmk 17 22 >> 23 ifdef G4ANALYSIS_USE >> 24 # for the aida-config command see the README file >> 25 CPPFLAGS += `aida-config --include` >> 26 LOADLIBS += `aida-config --lib` >> 27 endif >> 28 18 include $(G4INSTALL)/config/binmake.gmk 29 include $(G4INSTALL)/config/binmake.gmk 19 30 20 visclean: 31 visclean: 21 rm -f g4*.prim g4*.eps g4*.wrl 32 rm -f g4*.prim g4*.eps g4*.wrl 22 rm -f .DAWN_* 33 rm -f .DAWN_* >> 34 >> 35 histclean: >> 36 rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/RunAction.o