Rev | Line | |
---|
[807] | 1 | # $Id: GNUmakefile,v 1.2 2004/06/09 15:04:35 daquinog Exp $ |
---|
| 2 | # -------------------------------------------------------------- |
---|
| 3 | # GNUmakefile Michael Dressel |
---|
| 4 | # -------------------------------------------------------------- |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | name := CLHEPWrapper |
---|
| 8 | G4TARGET := $(name) |
---|
| 9 | G4EXLIB := true |
---|
| 10 | |
---|
| 11 | ifndef G4INSTALL |
---|
| 12 | G4INSTALL = ../.. |
---|
| 13 | endif |
---|
| 14 | |
---|
| 15 | include $(G4INSTALL)/config/architecture.gmk |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | .PHONY: all tiaraClean |
---|
| 19 | |
---|
| 20 | SWIGFLAGS = -I${CLHEP_BASE_DIR}/include |
---|
| 21 | include $(TIARA_BASE)/source/swig.gmk |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | all: $(SWIGSO) |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | include $(G4INSTALL)/config/binmake.gmk |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | CPPFLAGS += -I$(PYTHON_INCLUDE_DIR) |
---|
| 33 | |
---|
| 34 | LDFLAGS += -L$(PYTHON_LIB_DIR) |
---|
| 35 | |
---|
| 36 | LDLIBS += -lpython$(PYTHONVERSION) \ |
---|
| 37 | -lnsl \ |
---|
| 38 | -ldl \ |
---|
| 39 | -lreadline \ |
---|
| 40 | -ltermcap \ |
---|
| 41 | -lieee \ |
---|
| 42 | -lpthread \ |
---|
| 43 | -lutil |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | tiaraClean: |
---|
| 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.