39 lines
832 B
Makefile
39 lines
832 B
Makefile
# $Id: GNUmakefile,v 1.9 2007/06/22 12:44:42 maire Exp $
|
|
# --------------------------------------------------------------
|
|
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|
# --------------------------------------------------------------
|
|
|
|
name := TestEm7
|
|
G4TARGET := $(name)
|
|
G4EXLIB := true
|
|
|
|
ifndef G4INSTALL
|
|
G4INSTALL = ../../../..
|
|
endif
|
|
|
|
.PHONY: all
|
|
all: lib bin
|
|
|
|
#### G4ANALYSIS_USE := true
|
|
|
|
ifdef G4ANALYSIS_USE
|
|
CPPFLAGS += -DG4ANALYSIS_USE
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/architecture.gmk
|
|
|
|
ifdef G4ANALYSIS_USE
|
|
# for the aida-config command see the README file
|
|
CPPFLAGS += `aida-config --include`
|
|
LOADLIBS += `aida-config --lib`
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/binmake.gmk
|
|
|
|
visclean:
|
|
rm -f g4*.prim g4*.eps g4*.wrl
|
|
rm -f .DAWN_*
|
|
|
|
histclean:
|
|
rm ${G4WORKDIR}/tmp/${G4SYSTEM}/${G4TARGET}/RunAction.o
|