3 # Author : Chris H. Rycroft (LBL / UC Berkeley)
4 # Email : chr@alum.mit.edu
5 # Date : August 30th 2011
7 # Load the common configuration file
10 # List of the common source files
11 objs
=cell.o common.o container.o unitcell.o v_compute.o c_loops.o \
12 v_base.o wall.o pre_container.o container_prd.o
13 src
=$(patsubst %.o
,%.
cc,$(objs
))
16 all: libvoro
++.a voro
++
19 $(CXX
) -MM
$(src
) >Makefile.dep
27 voro
++: libvoro
++.a cmd_line.
cc
28 $(CXX
) $(CFLAGS
) -L.
-o voro
++ cmd_line.
cc -lvoro
++
31 $(CXX
) $(CFLAGS
) -c
$<
33 help
: Doxyfile
$(SOURCE
)
37 rm -f
$(objs
) voro
++ libvoro
++.a
39 .PHONY
: all help execs depend