38 lines
951 B
Makefile
38 lines
951 B
Makefile
# $Id: GNUmakefile 68058 2013-03-13 14:47:43Z gcosmo $
|
|
# --------------------------------------------------------------
|
|
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
|
# --------------------------------------------------------------
|
|
|
|
name := STCyclotron
|
|
G4TARGET := $(name)
|
|
G4EXLIB := true
|
|
|
|
ifndef G4INSTALL
|
|
G4INSTALL = ../../..
|
|
endif
|
|
|
|
.PHONY: all
|
|
all: lib bin
|
|
|
|
ifdef G4ANALYSIS_USE_ROOT
|
|
CPPFLAGS += -DG4ANALYSIS_USE_ROOT
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/architecture.gmk
|
|
|
|
ifdef G4ANALYSIS_USE_ROOT
|
|
CPPFLAGS += $(shell $(ROOTSYS)/bin/root-config --cflags)
|
|
LDFLAGS += $(shell $(ROOTSYS)/bin/root-config --glibs)
|
|
endif
|
|
|
|
include $(G4INSTALL)/config/binmake.gmk
|
|
|
|
visclean:
|
|
rm -f g4*.prim g4*.eps g4*.wrl
|
|
rm -f .DAWN_*
|
|
|
|
anaclean:
|
|
rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SahmriG4Histo*
|
|
rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SahmriG4Analysis*
|
|
rm -f $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(G4TARGET)/SahmriG4Stepping*
|