Strip extra spaces from code.
[voro++.git] / branches / dynamic / examples / extra / Makefile
blob0bf0e33f539078b4037d70891ff6f8df1dff908b
1 # Voro++ makefile
3 # Author : Chris H. Rycroft (LBL / UC Berkeley)
4 # Email : chr@alum.mit.edu
5 # Date : July 1st 2008
7 # Load the common configuration file
8 include ../../config.mk
10 # The relative of path of the main library source files
11 INCLUDE=-I../../src
13 # List of the common source files
14 SOURCE=../../src/container.cc ../../src/container.hh ../../src/config.hh \
15 ../../src/cell.hh ../../src/cell.cc ../../src/wall.cc ../../src/wall.hh \
16 ../../src/worklist.cc ../../src/worklist.hh ../../src/voro++.cc \
17 ../../src/voro++.hh
19 # List of executables
20 EXECUTABLES=cut_region box_cut superellipsoid
22 # Makefile rules
23 all: cut_region box_cut superellipsoid
25 superellipsoid: $(SOURCE) superellipsoid.cc
26 $(CC) $(CFLAGS) $(INCLUDE) -o superellipsoid superellipsoid.cc
28 cut_region: $(SOURCE) cut_region.cc
29 $(CC) $(CFLAGS) $(INCLUDE) -o cut_region cut_region.cc
31 box_cut: $(SOURCE) box_cut.cc
32 $(CC) $(CFLAGS) $(INCLUDE) -o box_cut box_cut.cc
34 clean:
35 rm -f $(EXECUTABLES)