source: huonglan/ANA2011/Makefile

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 
1LHAPATH =/exp/atlas/huonglan/LHAPDF/lhapdf-5.8.4/
2
3#compiler
4CC = g++
5#C++ compiler flags
6CFLAGS := -fPIC
7#library path
8LIBS := -L$(PWD) libPDFReweight.so
9
10#source files
11SRC = test.cpp
12
13OBJ = $(SRC:.cpp=.o)
14
15OUT = exe
16
17#include
18INC = -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
26clean:
27        rm -f *.o $(OBJ) $(OUT)
Note: See TracBrowser for help on using the repository browser.