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

Diff of /PamelaLevel2/doc/examples/Makefile

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

revision 1.2 by pam-fi, Wed Jan 3 13:28:49 2007 UTC revision 1.5 by pam-fi, Fri Aug 17 16:57:11 2007 UTC
# Line 7  ALL_CFLAGS = -Wall -O6 $(CFLAGS) Line 7  ALL_CFLAGS = -Wall -O6 $(CFLAGS)
7    
8  LIBS = $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so  `root-config --cflags --glibs`  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./  INCS =-I `root-config --incdir`  -I$(PAM_INC) -I$(PAM_INC)/yoda/ -I./
10  EXE = Loop.exe  EXE = Loop.exe  
11  # pattern rule to compile object files from C files  # pattern rule to compile object files from C files
12  # might not work with make programs other than GNU make  # might not work with make programs other than GNU make
13  %.o : %.cpp Makefile  %.o : %.cpp Makefile
# Line 20  OBJS = Loop.o My-Selection.o My-Histos.o Line 20  OBJS = Loop.o My-Selection.o My-Histos.o
20  Loop.exe: $(OBJS) Makefile  Loop.exe: $(OBJS) Makefile
21          $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS) $(LIBS) -o Loop.exe          $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS) $(LIBS) -o Loop.exe
22    
23  OBJS0 = Loop-0.o My-Selection-0.o My-Histos-0  
 Loop-0.exe: $(OBJS0) Makefile  
         $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS0) $(LIBS) -o Loop-0.exe  
24    
25  .PHONY : clean  .PHONY : clean
26  clean:  clean:

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

  ViewVC Help
Powered by ViewVC 1.1.23