Strip extra spaces from code.
[voro++.git] / branches / dynamic / examples / dynamic / Makefile
blob7ea90e2c86998f38610539bb5e36c31285d11809
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 ../../src/dynamic.hh ../../src/dynamic.cc
19 # List of executables
20 EXECUTABLES=acc_sphere dyn_test square_test packing_gen best_gen helix yeast stz_fig
22 # Makefile rules
23 all: acc_sphere dyn_test square_test packing_gen best_gen helix yeast stz_fig gen_packing
25 quick_gofr: $(SOURCE) quick_gofr.cc
26 $(CC) $(CFLAGS) $(INCLUDE) -o quick_gofr quick_gofr.cc
28 stz_fig: $(SOURCE) stz_fig.cc
29 $(CC) $(CFLAGS) $(INCLUDE) -o stz_fig stz_fig.cc
31 dyn_test: $(SOURCE) dyn_test.cc
32 $(CC) $(CFLAGS) $(INCLUDE) -o dyn_test dyn_test.cc
34 acc_sphere: $(SOURCE) acc_sphere.cc
35 $(CC) $(CFLAGS) $(INCLUDE) -o acc_sphere acc_sphere.cc
37 square_test: $(SOURCE) square_test.cc
38 $(CC) $(CFLAGS) $(INCLUDE) -o square_test square_test.cc
40 gen_packing: $(SOURCE) gen_packing.cc
41 $(CC) $(CFLAGS) $(INCLUDE) -o gen_packing gen_packing.cc
43 packing_gen: $(SOURCE) packing_gen.cc
44 $(CC) $(CFLAGS) $(INCLUDE) -o packing_gen packing_gen.cc
46 best_gen: $(SOURCE) best_gen.cc
47 $(CC) $(CFLAGS) $(INCLUDE) -o best_gen best_gen.cc
49 helix: $(SOURCE) helix.cc
50 $(CC) $(CFLAGS) $(INCLUDE) -I/opt/local/include/ -o helix helix.cc -L/opt/local/lib -lgsl -lblas
52 yeast: $(SOURCE) yeast.cc
53 $(CC) $(CFLAGS) $(INCLUDE) -o yeast yeast.cc
55 clean:
56 rm -f $(EXECUTABLES)