source: trunk/environments/g4py/config/g4compile.gmk @ 1342

Last change on this file since 1342 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 925 bytes
Line 
1# $Id: g4compile.gmk,v 1.3 2008/06/05 02:25:08 kmura Exp $
2# ===========================================================
3#   Script for building a Boost-Python module
4# ===========================================================
5include $(G4PY_INSTALL)/config/sys/$(Q_SYSTEM).gmk
6
7# include/lib directives started...
8INCFLAGS := -I.
9LOPT :=
10
11# Geant4
12G4PY_INCFLAGS := -I$(Q_G4_INCDIR)
13
14# CLHEP
15G4PY_INCFLAGS += -I$(Q_CLHEP_INCDIR)
16G4PY_LOPT += -L$(Q_CLHEP_LIBDIR) -l$(Q_CLHEP_LIB)
17
18# finished
19CXXFLAGS += $(INCFLAGS)
20CXXFLAGS += $(G4PY_INCFLAGS)
21LOPT += $(G4PY_LOPT)
22
23# ===========================================================
24#   Script for building a module
25# ===========================================================
26headers := $(wildcard *.hh)
27sources := $(wildcard *.cc)
28objects := $(patsubst %.cc, %.o, $(sources))
29
30.PHONY: clean debug
31
32compile : $(objects)
33
34clean :
35        @-rm -f $(objects)
36
37debug:
38        @echo debug...
39
Note: See TracBrowser for help on using the repository browser.