| Line | |
|---|
| 1 | # $Id: GNUmakefile,v 1.9 2004/06/18 15:59:39 daquinog Exp $
|
|---|
| 2 | # --------------------------------------------------------------
|
|---|
| 3 | # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|---|
| 4 | # --------------------------------------------------------------
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 | # this GNUmakefile shows how to use the example together with Anaphe
|
|---|
| 8 | # you may also chose another AIDA compliant analysis package.
|
|---|
| 9 | #
|
|---|
| 10 | # The environment variable ANAPHETOP has to be setup. See ../README
|
|---|
| 11 | #
|
|---|
| 12 |
|
|---|
| 13 | name := exampleB02
|
|---|
| 14 | G4TARGET := $(name)
|
|---|
| 15 | G4EXLIB := true
|
|---|
| 16 |
|
|---|
| 17 | ifndef G4INSTALL
|
|---|
| 18 | G4INSTALL = ../../..
|
|---|
| 19 | endif
|
|---|
| 20 |
|
|---|
| 21 | .PHONY: all
|
|---|
| 22 | all: lib bin
|
|---|
| 23 |
|
|---|
| 24 | include $(G4INSTALL)/config/binmake.gmk
|
|---|
| 25 |
|
|---|
| 26 | ifdef G4ANALYSIS_USE
|
|---|
| 27 | CPPFLAGS += `aida-config --include`
|
|---|
| 28 | LDFLAGS += `aida-config --lib`
|
|---|
| 29 | endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.