--- tof/flight/ToFReprocessing/Makefile 2008/12/05 11:25:24 1.2 +++ tof/flight/ToFReprocessing/Makefile 2012/04/12 12:04:19 1.4 @@ -2,9 +2,10 @@ # decide on compiler and flags depending on host CC = g++ CFLAGS=-fPIC -pthread -ALL_CFLAGS = -Wall -g $(CFLAGS) $(PAM_BIT) CROOT= root -l -b -q +#ALL_CFLAGS = -Wall -g $(CFLAGS) $(PAM_BIT) +ALL_CFLAGS = -Wall -O2 $(CFLAGS) $(PAM_BIT) LIBS = $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so `root-config --cflags --glibs` @@ -17,6 +18,9 @@ all: $(EXE) +install: + cp ToFreproc ${PAM_BIN}/ + OBJS1 = ToFreproc.o ToFreproc.exe: $(OBJS1) Makefile $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o ToFreproc