Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.9 2003/12/04 11:20:34 gcosmo 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 := CompositeCalorimeter 6 name := CompositeCalorimeter 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 include $(G4INSTALL)/config/architecture.gmk 14 include $(G4INSTALL)/config/architecture.gmk 14 15 15 ifdef debug << 16 include hadronic_lists.gmk 16 CPPFLAGS += -Ddebug << 17 endif << 18 17 19 .PHONY: all 18 .PHONY: all 20 19 21 all: lib bin 20 all: lib bin 22 21 23 include $(G4INSTALL)/config/binmake.gmk 22 include $(G4INSTALL)/config/binmake.gmk 24 23 25 << 24 ifdef G4ANALYSIS_USE >> 25 CPPFLAGS += `aida-config --include` >> 26 LDFLAGS += `aida-config --lib` >> 27 LOADLIBS += `aida-config --lib` >> 28 endif 26 29