source: trunk/examples/advanced/Tiara/source/CLHEPWrapper/GNUmakefile

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

update

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