39 lines
891 B
Makefile
39 lines
891 B
Makefile
# $Id: GNUmakefile 42 2010-01-15 15:48:21Z vnivanch $
|
|
# --------------------------------------------------------------
|
|
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|
# Modified by Mirco Deckenhoff 11/09/13
|
|
# --------------------------------------------------------------
|
|
|
|
name := scifiSim
|
|
G4TARGET := $(name)
|
|
G4EXLIB := true
|
|
|
|
.PHONY: all
|
|
all: lib bin
|
|
ifndef G4SYSTEM
|
|
G4SYSTEM = Linux-g++
|
|
endif
|
|
|
|
ifndef G4LIB
|
|
G4LIB = /work/roessler/geant4.10.00.p02-install/lib64
|
|
endif
|
|
|
|
ifndef G4INSTALL
|
|
G4INSTALL = /work/roessler/geant4.10.00.p02-install/share/Geant4-10.0.2/geant4make
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/architecture.gmk
|
|
|
|
#Add ROOT options for compilation
|
|
|
|
CPPFLAGS += `root-config --cflags`
|
|
LDFLAGS += `root-config --libs`
|
|
|
|
CPPFLAGS += `geant4-config --cflags`
|
|
LDFLAGS += `geant4-config --libs`
|
|
|
|
CPPFLAGS += -std=c++11
|
|
|
|
include $(G4INSTALL)/config/binmake.gmk
|
|
|