-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
55 lines (37 loc) · 1.22 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Makefile generated automatically by /home/frederic/utils/scripts/mkcxx.pl '-f' '-l' '-lLundPlane'
# run 'make make' to update it if you add new files
CXX = g++ # for macs - otherwise get c++ = clang
CXXFLAGS = -Wall -g -O2 -std=c++11
FJCONFIG = fastjet-config
INCLUDE += `$(FJCONFIG) --cxxflags`
LIBRARIES += `$(FJCONFIG) --libs --plugins`
INCLUDE += $(LCLINCLUDE)
COMMONSRC =
F77SRC =
COMMONOBJ =
PROGSRC = example.cc example_secondary.cc
PROGOBJ = example.o example_secondary.o
INCLUDE +=
LIBRARIES += -lLundPlane
all: example example_secondary
example: example.o $(COMMONOBJ)
$(CXX) $(LDFLAGS) -o $@ [email protected] $(COMMONOBJ) $(LIBRARIES)
example_secondary: example_secondary.o $(COMMONOBJ)
$(CXX) $(LDFLAGS) -o $@ [email protected] $(COMMONOBJ) $(LIBRARIES)
make:
/home/frederic/utils/scripts/mkcxx.pl '-f' '-l' '-lLundPlane'
clean:
rm -vf $(COMMONOBJ) $(PROGOBJ)
realclean: clean
rm -vf example example_secondary
.cc.o: $<
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $< -o $@
.cpp.o: $<
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $< -o $@
.C.o: $<
$(CXX) $(CXXFLAGS) $(INCLUDE) -c $< -o $@
.f.o: $<
$(F77) $(FFLAGS) -c $< -o $@
depend:
makedepend $(LCLINCLUDE) -Y -- -- $(COMMONSRC) $(PROGSRC)
# DO NOT DELETE