Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93329901
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
Wed, Nov 27, 23:15
Size
779 B
Mime Type
text/x-makefile
Expires
Fri, Nov 29, 23:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22618542
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