Files
geant4/examples/extended/gdml/GNUmakefile
T
2016-06-09 14:44:26 +02:00

49 lines
1.0 KiB
Makefile

# $Id: GNUmakefile,v 1.5 2006/06/16 16:52:41 witoldp Exp $
# --------------------------------------------------------------
# GNUmakefile for examples module.
# Author: Radovan Chytracek
# Date: 04/12/2004.
# --------------------------------------------------------------
name := g4_gdml_read_write
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../..
endif
CPPFLAGS += \
-I$(GDML_BASE)/include \
-I$(XERCESCROOT)/include
EXTRALIBS += \
-L$(GDML_LIB) \
-lG4Evaluator \
-lG4Processor \
-lG4Subscribers \
-lG4Writer \
-lSaxana \
-lProcesses \
-lWriter \
-L$(XERCESCROOT)/lib -lxerces-c
.PHONY: all
all: lib bin
ifndef XERCESCROOT
@echo XERCESCROOT not defined!
endif
ifndef GDML_BASE
@echo GDML_BASE not defined!
endif
ifndef GDML_LIB
@echo GDML_LIB not defined!
endif
include $(G4INSTALL)/config/binmake.gmk
visclean:
rm -f g4*.prim g4*.eps g4*.wrl
rm -f .DAWN_*