Files
geant4/examples/advanced/hadrontherapy/GNUmakefile
T
2018-12-07 15:15:39 +01:00

29 lines
612 B
Makefile

# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
name := hadrontherapy
G4TARGET := $(name)
G4EXLIB := true
# Debug info
#CPPFLAGS += -g
ifndef G4INSTALL
G4INSTALL = ../..
endif
.PHONY: all
all: lib bin
include $(G4INSTALL)/config/architecture.gmk
ifdef G4ANALYSIS_USE_ROOT # If we have ROOT
CPPFLAGS += -DG4ANALYSIS_USE_ROOT
CPPFLAGS += $(shell root-config --cflags)
EXTRALIBS += $(shell root-config --glibs)
endif
include $(G4INSTALL)/config/binmake.gmk