]> www.hackdaworld.org Git - physik/posic.git/blob - Makefile
de46da44be764a8a156cb1821465039e349f955a
[physik/posic.git] / Makefile
1 CC = gcc
2
3 CFLAGS = -Wall
4 CFLAGS += -O3
5 CFLAGS += -g
6 #CFLAGS += -ffloat-store
7
8 CFLAGS += -DALBE
9 CFLAGS += -DSTATIC_LISTS
10 #CFLAGS += -DDEBUG
11 CFLAGS += -DDSTART=400 -DDEND=600
12 #CFLAGS += -DVDEBUG
13 #CFLAGS += -DTERSOFF_ORIG
14
15 LDFLAGS=-lm
16
17 DEPS = moldyn.o random/random.o list/list.o
18 DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.o
19 DEPS += potentials/tersoff.o potentials/albe.o
20
21 all: posic sic fluctuation_calc postproc pair_correlation_calc
22
23 posic: $(DEPS)
24
25 sic: $(DEPS)
26
27 postproc: $(DEPS)
28
29 pair_correlation_calc: $(DEPS)
30
31 .PHONY:clean
32 clean:
33         rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o