Line | |
---|
1 | # $Id: GNUmakefile,v 1.8 2002/11/08 13:58:28 ahoward Exp $ |
---|
2 | # -------------------------------------------------------------- |
---|
3 | # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. |
---|
4 | # -------------------------------------------------------------- |
---|
5 | |
---|
6 | name := DMX |
---|
7 | G4TARGET := $(name) |
---|
8 | G4EXLIB := true |
---|
9 | |
---|
10 | ifndef G4INSTALL |
---|
11 | G4INSTALL = ../../.. |
---|
12 | endif |
---|
13 | |
---|
14 | ifdef DMXENV_GPS_USE |
---|
15 | CPPFLAGS += -DDMXENV_GPS_USE |
---|
16 | endif |
---|
17 | |
---|
18 | ifdef G4ANALYSIS_USE |
---|
19 | CPPFLAGS += -DG4ANALYSIS_USE |
---|
20 | endif |
---|
21 | |
---|
22 | |
---|
23 | include $(G4INSTALL)/config/architecture.gmk |
---|
24 | |
---|
25 | ifdef G4ANALYSIS_USE |
---|
26 | CPPFLAGS += `aida-config --include` |
---|
27 | LDFLAGS += `aida-config --lib` |
---|
28 | endif |
---|
29 | |
---|
30 | .PHONY: all |
---|
31 | all: lib bin |
---|
32 | |
---|
33 | include $(G4INSTALL)/config/binmake.gmk |
---|
34 | |
---|
35 | visclean: |
---|
36 | rm -f g4*.prim g4*.eps g4*.wrl |
---|
37 | rm -f .DAWN_* |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.