Files
geant4/environments/g4py/tests/test02/GNUmakefile
T
2016-06-10 11:51:14 +02:00

31 lines
719 B
Makefile

# $Id: GNUmakefile 66892 2013-01-17 10:57:59Z gunter $
# ===========================================================
# Makefile for building Python module with Boost.Python
#
# ===========================================================
include ../../config/config.gmk
# python module name
MODULE := test02#
# location of exposured library
G4PY_EXLIB_ROOT := ./mylib
G4PY_EXLIB_INCDIR := $(G4PY_EXLIB_ROOT)
G4PY_EXLIB_LIBDIR := $(G4PY_EXLIB_ROOT)
G4PY_EXLIB_LIBNAME := XXX
COMPILE_WITH_BOOST := true
include $(G4PY_INSTALL)/config/module.gmk
.PHONY: all mylib cleanall
all : cleanall mylib module
mylib :
@cd $(G4PY_EXLIB_ROOT) && $(MAKE)
cleanall: clean
@cd $(G4PY_EXLIB_ROOT) && $(MAKE) clean