30 lines
680 B
Makefile
30 lines
680 B
Makefile
# $Id: GNUmakefile,v 1.6 2003/11/26 13:55:49 vnivanch Exp $
|
|
# --------------------------------------------------------------
|
|
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|
# --------------------------------------------------------------
|
|
|
|
name := TestEm8
|
|
G4TARGET := $(name)
|
|
G4EXLIB := true
|
|
|
|
ifndef G4INSTALL
|
|
G4INSTALL = ../../../..
|
|
endif
|
|
|
|
.PHONY: all
|
|
all: lib bin
|
|
|
|
ifdef G4ANALYSIS_USE
|
|
CPPFLAGS += -DG4ANALYSIS_USE
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/architecture.gmk
|
|
|
|
ifdef G4ANALYSIS_USE
|
|
# for the aida-config command see the README file
|
|
CPPFLAGS += `aida-config --include`
|
|
LDFLAGS += `aida-config --lib`
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/binmake.gmk
|