Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80849397
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Sep 2, 22:13
Size
779 B
Mime Type
text/x-makefile
Expires
Wed, Sep 4, 22:13 (2 d)
Engine
blob
Format
Raw Data
Handle
20306361
Attached To
rLAMMPS lammps
Makefile
View Options
# Voro++ makefile
#
# Author : Chris H. Rycroft (LBL / UC Berkeley)
# Email : chr@alum.mit.edu
# Date : August 30th 2011
# Load the common configuration file
include ../config.mk
# List of the common source files
objs=cell.o common.o container.o unitcell.o v_compute.o c_loops.o \
v_base.o wall.o pre_container.o container_prd.o
src=$(patsubst %.o,%.cc,$(objs))
# Makefile rules
all: libvoro++.a voro++
depend:
$(CXX) -MM $(src) >Makefile.dep
include Makefile.dep
libvoro++.a: $(objs)
rm -f libvoro++.a
ar rs libvoro++.a $^
voro++: libvoro++.a cmd_line.cc
$(CXX) $(CFLAGS) -L. -o voro++ cmd_line.cc -lvoro++
%.o: %.cc
$(CXX) $(CFLAGS) -c $<
help: Doxyfile $(SOURCE)
doxygen Doxyfile
clean:
rm -f $(objs) voro++ libvoro++.a
.PHONY: all help execs depend
Event Timeline
Log In to Comment