Reset platonic code.
[voro++.git] / branches / 2d_boundary / src / Makefile
blob1112ebb4aca68200865ca27970ed1b711040680e
1 # Voro++ makefile
3 # Author : Chris H. Rycroft (LBL / UC Berkeley)
4 # Email : chr@alum.mit.edu
5 # Date : February 27th 2008
7 # Load the common configuration file
8 include ../config.mk
10 # List of the common source files
11 objs=common.o cell_2d.o container_2d.o
12 src=$(patsubst %.o,%.cc,$(objs))
14 # Makefile rules
15 all: libvoro++_2d.a
17 depend:
18 $(CXX) -MM $(src) >Makefile.dep
20 execs: $(execs)
22 include Makefile.dep
24 libvoro++_2d.a: $(objs)
25 rm -f libvoro++_2d.a
26 ar rs libvoro++_2d.a $^
28 %.o: %.cc
29 $(CXX) $(CFLAGS) -c $<
31 help: Doxyfile $(SOURCE)
32 doxygen Doxyfile
33 cd ../latex && $(MAKE)
35 clean:
36 rm -f $(objs) libvoro++_2d.a
38 .PHONY: all help execs depend