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 18 25 19 .PHONY: all 26 .PHONY: all 20 all: lib bin 27 all: lib bin 21 28 22 include $(G4INSTALL)/config/binmake.gmk 29 include $(G4INSTALL)/config/binmake.gmk 23 30 24 31