/[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.3 by pam-fi, Mon Jan 15 11:51:39 2007 UTC revision 1.4 by pam-fi, Fri Feb 16 18:38:13 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  Loop-1.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 24  OBJS0 = Loop.o My-Selection-0.o My-Histo Line 24  OBJS0 = Loop.o My-Selection-0.o My-Histo
24  Loop-0.exe: $(OBJS0) Makefile  Loop-0.exe: $(OBJS0) Makefile
25          $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS0) $(LIBS) -o Loop-0.exe          $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS0) $(LIBS) -o Loop-0.exe
26    
27    OBJS1 = Loop.o Selection-none.o Histo-test.o
28    Loop-1.exe: $(OBJS1) Makefile
29            $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o Loop-1.exe
30    
31    
32  .PHONY : clean  .PHONY : clean
33  clean:  clean:
34          rm -f *.o *.exe          rm -f *.o *.exe

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23