Last change
on this file was
6,
checked in by huonglan, 13 years ago
|
first full version of 2011 analysis
|
File size:
390 bytes
|
Line | |
---|
1 | LHAPATH =/exp/atlas/huonglan/LHAPDF/lhapdf-5.8.4/ |
---|
2 | |
---|
3 | #compiler |
---|
4 | CC = g++ |
---|
5 | #C++ compiler flags |
---|
6 | CFLAGS := -fPIC |
---|
7 | #library path |
---|
8 | LIBS := -L$(PWD) libPDFReweight.so |
---|
9 | |
---|
10 | #source files |
---|
11 | SRC = test.cpp |
---|
12 | |
---|
13 | OBJ = $(SRC:.cpp=.o) |
---|
14 | |
---|
15 | OUT = exe |
---|
16 | |
---|
17 | #include |
---|
18 | INC = -I$(PWD) |
---|
19 | |
---|
20 | %.o : %.cpp |
---|
21 | $(CC) -c $< $(CFLAGS) $(INC) -o $@ |
---|
22 | |
---|
23 | $(OUT) : $(OBJ) |
---|
24 | $(CC) -shared -Wl -o $(OUT) $(OBJ) -lc $(LIBS) |
---|
25 | |
---|
26 | clean: |
---|
27 | rm -f *.o $(OBJ) $(OUT) |
---|
Note: See
TracBrowser
for help on using the repository browser.