/[PAMELA software]/PamelaLevel2/doc/examples/Makefile
ViewVC logotype

Annotation of /PamelaLevel2/doc/examples/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Dec 12 13:24:23 2006 UTC (18 years ago) by pam-fi
Branch: MAIN
*** empty log message ***

1 pam-fi 1.1 SHELL = /bin/sh
2     # decide on compiler and flags depending on host
3     CC = g++
4     CFLAGS=-fPIC -pthread
5     ALL_CFLAGS = -Wall -O6 $(CFLAGS)
6    
7    
8     OBJS = Loop.o My-Selection.o My-Histos.o
9     LIBS = $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so `root-config --cflags --glibs`
10     INCS =-I `root-config --incdir` -I$(PAM_INC) -I$(PAM_INC)/yoda/ -I./
11     EXE = Loop.exe
12     # pattern rule to compile object files from C files
13     # might not work with make programs other than GNU make
14     %.o : %.cpp Makefile
15     $(CC) $(ALL_CFLAGS) $(INCS) -c $< -o $@
16    
17     all: $(EXE)
18    
19     $(EXE): $(OBJS) Makefile
20     $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS) $(LIBS) -o $(EXE)
21    
22    
23     .PHONY : clean
24     clean:
25     rm -f $(OBJS) $(EXE)
26    
27    

  ViewVC Help
Powered by ViewVC 1.1.23