Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.10 2006/11/14 14:39:51 ribon 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 CPPFLAGS += -Ddebug << 17 endif << 18 << 19 .PHONY: all 16 .PHONY: all 20 17 21 all: lib bin 18 all: lib bin 22 19 23 include $(G4INSTALL)/config/binmake.gmk 20 include $(G4INSTALL)/config/binmake.gmk 24 21 25 << 22 ifdef G4ANALYSIS_USE >> 23 CPPFLAGS += `aida-config --include` >> 24 LDFLAGS += `aida-config --lib` >> 25 LOADLIBS += `aida-config --lib` >> 26 endif 26 27