forked from GRIFFINCollaboration/detectorSimulations_v10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGNUmakefile
39 lines (29 loc) · 946 Bytes
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id: GNUmakefile 68015 2013-03-13 13:27:27Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
name := Griffinv10
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../..
endif
.PHONY: setup clean_setup all
all: hbook lib bin
setup:
@echo "Copying files from common"
@$(G4INSTALL)/examples/extended/common/scripts/copy_files.sh
clean_setup:
@echo "Removing files copied from common"
@$(G4INSTALL)/examples/extended/common/scripts/clean_files.sh
# HBOOK support
#
#### G4_USE_HBOOK := true
include GNUmakefile.tools_hbook
include $(G4INSTALL)/config/binmake.gmk
visclean:
rm -f g4*.prim g4*.eps g4*.wrl
rm -f .DAWN_*
histclean:
rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/HistoManager.o
rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/ExG4HbookAnalysisManager.o