2 |
# decide on compiler and flags depending on host |
# decide on compiler and flags depending on host |
3 |
CC = g++ |
CC = g++ |
4 |
CFLAGS=-fPIC -pthread |
CFLAGS=-fPIC -pthread |
|
ALL_CFLAGS = -Wall -g $(CFLAGS) $(PAM_BIT) |
|
5 |
|
|
6 |
CROOT= root -l -b -q |
CROOT= root -l -b -q |
7 |
|
#ALL_CFLAGS = -Wall -g $(CFLAGS) $(PAM_BIT) |
8 |
|
ALL_CFLAGS = -Wall -O2 $(CFLAGS) $(PAM_BIT) |
9 |
|
|
10 |
|
|
11 |
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` |