float-store bugfix (unstatisfying!) + slightly new design of sic.c
[physik/posic.git] / Makefile
1 CC = gcc
2
3 CFLAGS = -Wall
4 #CFLAGS += -Wextra -pedantic
5 CFLAGS += -O3
6 CFLAGS += -g
7 #CFLAGS += -ffloat-store
8
9 CFLAGS += -DALBE
10 #CFLAGS += -DSTATIC_LISTS
11 #CFLAGS += -DDEBUG
12 CFLAGS += -DDSTART=400 -DDEND=600
13 #CFLAGS += -DVDEBUG
14 #CFLAGS += -DTERSOFF_ORIG
15
16 LDFLAGS = -lm
17 #LDFLAGS += -lefence
18
19 DEPS = moldyn.o random/random.o list/list.o
20 DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.o
21 DEPS += potentials/tersoff.o potentials/albe.o
22
23 all: posic sic fluctuation_calc postproc pair_correlation_calc
24
25 posic: $(DEPS)
26
27 sic: $(DEPS) config.h
28
29 postproc: $(DEPS)
30
31 pair_correlation_calc: $(DEPS)
32
33 .PHONY:clean
34 clean:
35         rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o