source: JEM-EUSO/esaf_lal/branches/camille/packages/analysis/GNUmakefile @ 176

Last change on this file since 176 was 176, checked in by moretto, 11 years ago

add analysis directory

File size: 1.7 KB
Line 
1# Makefile for analysis
2# Camille Moretto
3# 13/06/2013
4
5ifndef ESAFINSTALL
6ESAFINSTALL = /Users/moretto/Documents/thesis/ESAF/Code/esaf_lal/esaf
7endif
8
9include $(ESAFINSTALL)/packages/config.gmk
10include $(ESAFINSTALL)/packages/g4libs.gmk
11include $(ESAFINSTALL)/packages/vgmlibs.gmk
12
13SUBDIRS = ../common
14
15# this sequence does link
16libs = base lowtran gui atmosphere SimuEvent genbase showers lightsources tools optics  radiativetransfer lighttoeuso simuframework electronics dettools cfortran EventViewer
17
18ifdef G4INSTALL
19libs += G4Detector Parameters
20endif
21
22ifdef USE_SLAST77
23libs += slast
24endif
25
26libraries = $(patsubst %,-l$(LIBPREFIX)%,$(libs))
27libdep = $(patsubst %,$(LIBDIR)/lib$(LIBPREFIX)%.so,$(libs))
28
29CXXFLAGS += -I$(ESAFINSTALL)/packages/common/base/include/
30CXXFLAGS += -I$(ESAFINSTALL)/packages/common/root/include/
31CXXFLAGS += -I$(ESAFINSTALL)/packages/common/gui/include/
32CXXFLAGS += -I$(ESAFINSTALL)/packages/common/eventviewer/include/
33CXXFLAGS += -I$(ESAFINSTALL)/packages/simulation/framework/include
34CXXFLAGS += -I$(ESAFINSTALL)/packages/simulation/detector/optics/include
35CXXFLAGS += -I$(ESAFINSTALL)/packages/simulation/lightsources/include
36CXXFLAGS += -I$(ESAFINSTALL)/packages/simulation/detector/tools/include
37CXXFLAGS += -I$(ESAFPACKAGES)/simulation/tools/include
38ifdef G4INSTALL
39CXXFLAGS += -I$(ESAFINSTALL)/packages/simulation/detector/G4Detector/include/
40CXXFLAGS += -I$(ESAFPACKAGES)/simulation/detector/Parameters/include
41endif
42
43.PHONY: all includes clean obj lib tags doc
44
45all: average_time_distri
46
47average_time_distri: $(libdep) average_time_distri.C
48        $(CXX) $(CXXFLAGS) average_time_distri.C -L$(LIBDIR) $(libraries) $(LDFLAGS) $(libraries) $(G4LIBS) $(VGMLIBS) -o average_time_distri.exe
49
Note: See TracBrowser for help on using the repository browser.