Geant4 Cross Reference |
>> 1 # $Id: GNUmakefile,v 1.23 2006/06/02 05:24:20 flongo 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 := GammaRayTel 6 name := GammaRayTel 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 >> 13 .PHONY: all >> 14 all: lib bin 12 15 13 .PHONY: all << 16 include $(G4INSTALL)/config/binmake.gmk 14 all: had_list lib bin << 15 17 16 had_list: << 18 include hadronic_lists.gmk 17 @echo "Gamma-Ray Telescope advanced example" << 18 19 19 include $(G4INSTALL)/config/binmake.gmk << 20 ifdef G4ANALYSIS_USE >> 21 CPPFLAGS += `aida-config --include` >> 22 LDFLAGS += `aida-config --lib` >> 23 LOADLIBS += `aida-config --lib` >> 24 endif 20 25 >> 26 ifdef G4STORE_DATA >> 27 CPPFLAGS += -DG4STORE_DATA >> 28 endif