/
Makefile
37 lines (26 loc) · 955 Bytes
/
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
# Voro++ makefile
#
# Author : Chris H. Rycroft (Harvard University / LBL)
# Email : chr@alum.mit.edu
# Date : August 30th 2011
# Load the common configuration file
include ../../config.mk
# List of executables
EXECUTABLES=box_cut cut_region superellipsoid irregular l_shape
# Makefile rules
all: $(EXECUTABLES)
box_cut: box_cut.cc
$(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o box_cut box_cut.cc -lvoro++
cut_region: cut_region.cc
$(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o cut_region cut_region.cc -lvoro++
superellipsoid: superellipsoid.cc
$(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o superellipsoid superellipsoid.cc -lvoro++
irregular: irregular.cc
$(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o irregular irregular.cc -lvoro++
l_shape: l_shape.cc
$(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o l_shape l_shape.cc -lvoro++
finite_sys: finite_sys.cc
$(CXX) $(CFLAGS) $(E_INC) $(E_LIB) -o finite_sys finite_sys.cc -lvoro++
clean:
rm -f $(EXECUTABLES)
.PHONY: all clean