--- PamelaLevel2/doc/examples/Makefile 2007/01/03 13:28:49 1.2 +++ PamelaLevel2/doc/examples/Makefile 2007/02/16 18:38:13 1.4 @@ -7,7 +7,7 @@ LIBS = $(PAM_LIB)/libyoda.so $(PAM_LIB)/libDarthVader.so $(PAM_LIB)/libPamLevel2.so `root-config --cflags --glibs` INCS =-I `root-config --incdir` -I$(PAM_INC) -I$(PAM_INC)/yoda/ -I./ -EXE = Loop.exe +EXE = Loop.exe Loop-1.exe # pattern rule to compile object files from C files # might not work with make programs other than GNU make %.o : %.cpp Makefile @@ -20,10 +20,15 @@ Loop.exe: $(OBJS) Makefile $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS) $(LIBS) -o Loop.exe -OBJS0 = Loop-0.o My-Selection-0.o My-Histos-0 +OBJS0 = Loop.o My-Selection-0.o My-Histos-0.o Loop-0.exe: $(OBJS0) Makefile $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS0) $(LIBS) -o Loop-0.exe +OBJS1 = Loop.o Selection-none.o Histo-test.o +Loop-1.exe: $(OBJS1) Makefile + $(CC) $(ALL_CFLAGS) $(INCS) $(OBJS1) $(LIBS) -o Loop-1.exe + + .PHONY : clean clean: rm -f *.o *.exe