/[PAMELA software]/ParDirCalc/Makefile
ViewVC logotype

Contents of /ParDirCalc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Sep 16 09:38:49 2008 UTC (16 years, 2 months ago) by pam-mep
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Lot of changes

1 SHELL = /bin/sh
2 # decide on compiler and flags depending on host
3 CC = gcc
4 CFLAGS=-fPIC -pthread
5 ALL_CFLAGS = -Wall -O6 $(CFLAGS)
6 VPATH=$(PAM_LIB)
7
8 LIBS = $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so `root-config --cflags --glibs`
9 INCS =-I `root-config --incdir` -I$(PAM_INC) -I$(PAM_INC)/yoda/ -I./
10 SRCS = TrAng.cpp option.cpp
11 EXE = QtoInclination.exe
12 # pattern rule to compile object files from C files
13 # might not work with make programs other than GNU make
14 %.o : %.C Makefile
15 $(CC) $(ALL_CFLAGS) $(INCS) -c $< -o $@
16
17 all: $(EXE)
18
19
20 OBJS =QtoInclination.o
21 QtoInclination.exe: $(OBJS) Makefile
22 $(CC) $(ALL_CFLAGS) $(SRCS) $(INCS) $(OBJS) $(LIBS) -o QtoInc.exe
23
24 #OBJS0 = Loop.o My-Selection-0.o My-Histos-0.o
25 #Loop-0.exe: $(OBJS0) Makefile
26 # $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS0) $(LIBS) -o Loop-0.exe
27
28 #OBJS1 = Loop.o Selection-none.o Histo-test.o
29 #Loop-1.exe: $(OBJS1) Makefile
30 # $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o Loop-1.exe
31
32
33 .PHONY : clean
34 clean:
35 rm -f *.o *.exe

  ViewVC Help
Powered by ViewVC 1.1.23