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 |
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 |
OBJS0 = Loop.o My-Selection-0.o My-Histos-0.o |
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 |