Last change
on this file since 1343 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 | # =========================================================== |
---|
5 | include $(G4PY_INSTALL)/config/sys/$(Q_SYSTEM).gmk |
---|
6 | |
---|
7 | # include/lib directives started... |
---|
8 | INCFLAGS := -I. |
---|
9 | LOPT := |
---|
10 | |
---|
11 | # Geant4 |
---|
12 | G4PY_INCFLAGS := -I$(Q_G4_INCDIR) |
---|
13 | |
---|
14 | # CLHEP |
---|
15 | G4PY_INCFLAGS += -I$(Q_CLHEP_INCDIR) |
---|
16 | G4PY_LOPT += -L$(Q_CLHEP_LIBDIR) -l$(Q_CLHEP_LIB) |
---|
17 | |
---|
18 | # finished |
---|
19 | CXXFLAGS += $(INCFLAGS) |
---|
20 | CXXFLAGS += $(G4PY_INCFLAGS) |
---|
21 | LOPT += $(G4PY_LOPT) |
---|
22 | |
---|
23 | # =========================================================== |
---|
24 | # Script for building a module |
---|
25 | # =========================================================== |
---|
26 | headers := $(wildcard *.hh) |
---|
27 | sources := $(wildcard *.cc) |
---|
28 | objects := $(patsubst %.cc, %.o, $(sources)) |
---|
29 | |
---|
30 | .PHONY: clean debug |
---|
31 | |
---|
32 | compile : $(objects) |
---|
33 | |
---|
34 | clean : |
---|
35 | @-rm -f $(objects) |
---|
36 | |
---|
37 | debug: |
---|
38 | @echo debug... |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.