Geant4 Cross Reference |
1 # -------------------------------------------- 1 # -------------------------------------------------------------- 2 # GNUmakefile for ULTRA-based air shower Advan 2 # GNUmakefile for ULTRA-based air shower Advanced Example. 3 # -------------------------------------------- 3 # -------------------------------------------------------------- 4 4 5 name := Ultra 5 name := Ultra 6 G4TARGET := $(name) 6 G4TARGET := $(name) 7 G4EXLIB := true 7 G4EXLIB := true 8 8 9 ifndef G4INSTALL 9 ifndef G4INSTALL 10 G4INSTALL = ../.. << 10 G4INSTALL = ../../.. 11 endif 11 endif 12 12 13 include $(G4INSTALL)/config/architecture.gmk 13 include $(G4INSTALL)/config/architecture.gmk 14 14 15 ifdef SPACE_VERBOSE 15 ifdef SPACE_VERBOSE 16 CPPFLAGS += -DULTRA_VERBOSE_USE << 16 CPPFLAGS += -DSPACE_VERBOSE_USE 17 endif 17 endif >> 18 ifdef ULTRA_MIRROR_USE >> 19 CPPFLAGS += -DULTRA_MIRROR_USE >> 20 endif >> 21 ifdef ULTRA_GROUND_USE >> 22 CPPFLAGS += -DULTRA_GROUND_USE >> 23 endif >> 24 >> 25 ifdef G4ANALYSIS_USE >> 26 CPPFLAGS += `aida-config --include` >> 27 LDFLAGS += `aida-config --lib` >> 28 endif >> 29 18 30 19 .PHONY: all 31 .PHONY: all 20 all: lib bin 32 all: lib bin 21 33 22 include $(G4INSTALL)/config/binmake.gmk 34 include $(G4INSTALL)/config/binmake.gmk 23 35 24 36