-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGNUmakefile
34 lines (25 loc) · 804 Bytes
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: GNUmakefile,v 1.18 2010-11-12 14:50:02 cirrone Exp $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
G4ANALYSIS_USE_ROOT := 1
name := cir
G4TARGET := $(name)
G4EXLIB := true
CPPFLAGS += -DG4VIS_USE -DG4UI_USE
# Debug info
#CPPFLAGS += -g
ifndef G4INSTALL
G4INSTALL = ../..
endif
.PHONY: all
all: lib bin
include $(G4INSTALL)/config/architecture.gmk
ifdef G4ANALYSIS_USE_ROOT # If we have ROOT
CPPFLAGS += -DG4ANALYSIS_USE_ROOT
CPPFLAGS += $(shell root-config --cflags)
CPPFLAGS += $(shell gsl-config --cflags)
EXTRALIBS += $(shell root-config --libs)
EXTRALIBS += $(shell gsl-config --libs)
endif
include $(G4INSTALL)/config/binmake.gmk