37 lines
829 B
Makefile
37 lines
829 B
Makefile
# $Id: GNUmakefile,v 1.4 2006/10/26 15:19:21 maire Exp $
|
|
# --------------------------------------------------------------
|
|
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|
# --------------------------------------------------------------
|
|
|
|
name := TestEm10
|
|
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
|
|
|
|
# for the aida-config command see the README file
|
|
ifdef G4ANALYSIS_USE
|
|
CPPFLAGS += `aida-config --include`
|
|
LOADLIBS += `aida-config --lib`
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/binmake.gmk
|
|
|
|
histclean:
|
|
rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/Em10RunAction.o
|
|
|
|
visclean:
|
|
rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/Em10VisManager.o
|
|
|