1 | # $Id: GNUmakefile,v 1.1 1999/01/08 16:32:12 gunter Exp $ |
---|
2 | # ---------------------------------------------------------------- |
---|
3 | # Makes test program in environment variable G4TARGET. |
---|
4 | # ---------------------------------------------------------------- |
---|
5 | |
---|
6 | ifndef G4TARGET |
---|
7 | G4TARGET := $(TESTTARGET) |
---|
8 | endif |
---|
9 | |
---|
10 | ifndef G4INSTALL |
---|
11 | G4INSTALL = ../../.. |
---|
12 | endif |
---|
13 | |
---|
14 | G4EXEC_BUILD = true |
---|
15 | |
---|
16 | include $(G4INSTALL)/config/architecture.gmk |
---|
17 | include $(G4INSTALL)/config/G4UI_USE.gmk |
---|
18 | include $(G4INSTALL)/config/interactivity.gmk |
---|
19 | |
---|
20 | # Override some variables for binmake.gmk. |
---|
21 | # |
---|
22 | INCFLAGS := -I$(G4BASE)/global/management/include \ |
---|
23 | -I$(G4BASE)/global/HEPRandom/include \ |
---|
24 | -I$(G4BASE)/global/HEPGeometry/include \ |
---|
25 | -I$(G4BASE)/track/include \ |
---|
26 | -I$(G4BASE)/intercoms/include \ |
---|
27 | -I$(G4BASE)/processes/management/include \ |
---|
28 | -I$(G4BASE)/materials/include \ |
---|
29 | -I$(G4BASE)/particles/management/include \ |
---|
30 | -I$(G4BASE)/particles/bosons/include \ |
---|
31 | -I$(G4BASE)/particles/leptons/include \ |
---|
32 | -I$(G4BASE)/particles/hadrons/mesons/include \ |
---|
33 | -I$(G4BASE)/particles/hadrons/barions/include \ |
---|
34 | -I$(G4BASE)/particles/hadrons/ions/include |
---|
35 | |
---|
36 | LDLIBS := $(UILIBS) \ |
---|
37 | -lG4intercoms \ |
---|
38 | -lG4materials \ |
---|
39 | -lG4particles \ |
---|
40 | -lG4piiman \ |
---|
41 | -lG4track |
---|
42 | |
---|
43 | ifneq (,$(findstring SGI,$(G4SYSTEM))) |
---|
44 | LDLIBS += -lG4particles -lG4global |
---|
45 | else |
---|
46 | LDLIBS += -lG4global |
---|
47 | endif |
---|
48 | |
---|
49 | include $(G4INSTALL)/config/binmake.gmk |
---|