ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/poly_occ/voro++-0.4.6/src/Makefile
Revision: 979
Committed: Thu Oct 18 23:40:32 2018 UTC (6 years, 8 months ago) by francois
File size: 779 byte(s)
Log Message:
creation de polycristaux avec OCC

File Contents

# User Rev Content
1 francois 979 # Voro++ makefile
2     #
3     # Author : Chris H. Rycroft (LBL / UC Berkeley)
4     # Email : chr@alum.mit.edu
5     # Date : August 30th 2011
6    
7     # Load the common configuration file
8     include ../config.mk
9    
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))
14    
15     # Makefile rules
16     all: libvoro++.a voro++
17    
18     depend:
19     $(CXX) -MM $(src) >Makefile.dep
20    
21     include Makefile.dep
22    
23     libvoro++.a: $(objs)
24     rm -f libvoro++.a
25     ar rs libvoro++.a $^
26    
27     voro++: libvoro++.a cmd_line.cc
28     $(CXX) $(CFLAGS) -L. -o voro++ cmd_line.cc -lvoro++
29    
30     %.o: %.cc
31     $(CXX) $(CFLAGS) -c $<
32    
33     help: Doxyfile $(SOURCE)
34     doxygen Doxyfile
35    
36     clean:
37     rm -f $(objs) voro++ libvoro++.a
38    
39     .PHONY: all help execs depend