Rev | Line | |
---|
[1199] | 1 | # $Id: GNUmakefile,v 1.2 2008/07/25 11:43:17 vnivanch 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 | ifdef G4ANALYSIS_USE_ROOT |
---|
| 17 | CPPFLAGS += -DG4ANALYSIS_USE_ROOT |
---|
| 18 | endif |
---|
| 19 | |
---|
| 20 | include $(G4INSTALL)/config/architecture.gmk |
---|
| 21 | |
---|
| 22 | ifdef G4ANALYSIS_USE_ROOT |
---|
| 23 | CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags) |
---|
| 24 | LDFLAGS += $(shell $(ROOTSYS)/bin/root-config --glibs) |
---|
| 25 | endif |
---|
| 26 | |
---|
| 27 | include $(G4INSTALL)/config/binmake.gmk |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.