/[PAMELA software]/tof/flight/ToFReprocessing/Makefile
ViewVC logotype

Diff of /tof/flight/ToFReprocessing/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by mocchiut, Fri Nov 28 14:58:50 2008 UTC revision 1.5 by mayorov, Sat Sep 1 13:46:01 2018 UTC
# Line 2  SHELL = /bin/sh Line 2  SHELL = /bin/sh
2  # decide on compiler and flags depending on host  # decide on compiler and flags depending on host
3  CC = g++  CC = g++
4  CFLAGS=-fPIC -pthread  CFLAGS=-fPIC -pthread
 ALL_CFLAGS = -Wall -g $(CFLAGS)  
5    
6  CROOT= root -l -b -q  CROOT= root -l -b -q
7    #ALL_CFLAGS = -Wall -g $(CFLAGS) $(PAM_BIT)
8    ALL_CFLAGS = -Wall -O2 $(CFLAGS) $(PAM_BIT) -lgfortran
9    
10    
11  LIBS = $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so `root-config --cflags --glibs`    LIBS =  `root-config --cflags --glibs`  $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so $(PAM_LIB)/libToFLevel2.so $(PAM_LIB)/libTrkLevel2.so $(PAM_LIB)/libGLTables.so
12  INCS =-I `root-config --incdir`  -I$(PAM_INC) -I$(PAM_INC)/yoda/ -I./  INCS =-I `root-config --incdir`  -I$(PAM_INC) -I$(PAM_INC)/yoda/ -I./
13  EXE = ToFreproc.exe  EXE = ToFreproc.exe
14  # pattern rule to compile object files from C files  # pattern rule to compile object files from C files
# Line 17  EXE = ToFreproc.exe Line 18  EXE = ToFreproc.exe
18    
19  all: $(EXE)  all: $(EXE)
20    
21    install:
22            cp ToFreproc ${PAM_BIN}/
23    
24  OBJS1 = ToFreproc.o  OBJS1 = ToFreproc.o
25  ToFreproc.exe: $(OBJS1) Makefile  ToFreproc.exe: $(OBJS1) Makefile
26          $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o ToFreproc          $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o ToFreproc

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23