-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 733 Bytes
/
Makefile
File metadata and controls
23 lines (17 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ROOTCFLAGS = $(shell $(ROOTSYS)/bin/root-config --cflags)
ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --libs)
multics: multics.cc Makefile
g++ -O2 -Wall -Wextra $(ROOTCFLAGS) -o multics multics.cc $(ROOTLIBS)
@echo "done: multics (with ROOT)"
multicspp: multics.cpp Makefile
g++ -O2 -Wall -Wextra -o multicspp multics.cpp
@echo "done: multicspp (without ROOT)"
multicsf: multics.f90 Makefile
gfortran -O2 -o multicsf multics.f90
@echo "done: multicsf"
edgesc: edgesc.cc Makefile
g++ -O2 -Wall -Wextra $(ROOTCFLAGS) -o edgesc edgesc.cc $(ROOTLIBS)
@echo "done: edgesc (with ROOT)"
simloss: simloss.cc Makefile
g++ -O2 -Wall -Wextra $(ROOTCFLAGS) -o simloss simloss.cc $(ROOTLIBS)
@echo "done: simloss (with ROOT)"