source: trunk/examples/advanced/Tiara/source/G4KernelWrapper/GNUmakefile@ 807

Last change on this file since 807 was 807, checked in by garnier, 17 years ago

update

File size: 1.2 KB
Line 
1# $Id: GNUmakefile,v 1.7 2006/06/23 13:15:34 ahoward Exp $
2# --------------------------------------------------------------
3# GNUmakefile Michael Dressel
4# --------------------------------------------------------------
5
6name := G4KernelWrapper
7G4TARGET := $(name)
8G4EXLIB := true
9
10ifndef G4INSTALL
11 G4INSTALL = ../..
12endif
13include $(G4INSTALL)/config/architecture.gmk
14
15SWIGFLAGS = -I./ \
16 -I${G4INSTALL}/source/global/management/include \
17 -I${G4INSTALL}/source/geometry/biasing/include \
18 -I${G4INSTALL}/source/digits_hits/detector/include \
19 -I${G4INSTALL}/source/event/include \
20 -I${G4INSTALL}/source/processes/transportation/include \
21 -I${G4INSTALL}/source/visualization/management/include \
22 -I${TIARA_BASE}/source/CLHEPWrapper/include \
23 -I${CLHEP_BASE_DIR}/include
24
25include $(TIARA_BASE)/source/swig.gmk
26
27.PHONY: all tiaraClean
28
29all: $(SWIGSO)
30
31include $(G4INSTALL)/config/binmake.gmk
32
33CPPFLAGS += -I$(PYTHON_INCLUDE_DIR)
34LDFLAGS += -L$(PYTHON_LIB_DIR)
35LDLIBS += -lpython$(PYTHONVERSION) \
36 -lnsl \
37 -ldl \
38 -lreadline \
39 -ltermcap \
40 -lieee \
41 -lpthread \
42 -lutil
43
44tiaraClean:
45 @echo Cleaning up $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(name)
46 @rm -rf $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(name)
47 @rm -f *.pyc
Note: See TracBrowser for help on using the repository browser.