Strip extra spaces from code.
[voro++.git] / branches / dynamic / examples / basic / Makefile
blob9855b9ec38ef49985df4b727fa54d21d39215110
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=single_cell platonic random_points import
22 # Makefile rules
23 all: single_cell platonic random_points import
25 single_cell: $(SOURCE) single_cell.cc
26 $(CC) $(CFLAGS) $(INCLUDE) -o single_cell single_cell.cc
28 platonic: $(SOURCE) platonic.cc
29 $(CC) $(CFLAGS) $(INCLUDE) -o platonic platonic.cc
31 random_points: $(SOURCE) random_points.cc
32 $(CC) $(CFLAGS) $(INCLUDE) -o random_points random_points.cc
34 import: $(SOURCE) import.cc
35 $(CC) $(CFLAGS) $(INCLUDE) -o import import.cc
37 clean:
38 rm -f $(EXECUTABLES)