forked from mwetstein/WChSandBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GNUmakefile
30 lines (23 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
# $Id: GNUmakefile,v 1.2 2003/01/23 15:31:39 maire Exp $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
name := WChSandBox
G4TARGET := $(name)
G4EXLIB := true
ifndef G4INSTALL
G4INSTALL = ../../..
endif
#CPPFLAGS += -I$ROOTSYS/include
#ROOTCFLAGS := $(shell root-config --cflags) -DUSE_ROOT -fPIC
#ROOTLIBS := $(shell root-config --libs)
CPPFLAGS += $(shell root-config --cflags)
LDFLAGS += $(shell root-config --libs)
EXTRALIBS = $(shell $(ROOTSYS)/bin/root-config --glibs)
.PHONY: all
all: lib bin
include $(G4INSTALL)/config/binmake.gmk
LDFLAGS := $(LDFLAGS) -L$(G4LIB)/$(G4SYSTEM)
visclean:
rm -f g4*.prim g4*.eps g4*.wrl
rm -f .DAWN_*