]> hackdaworld.org Git - physik/posic.git/blob - Makefile
changes to visualization, not finished by now!
[physik/posic.git] / Makefile
1 CC=gcc
2 CFLAGS=-Wall
3 CFLAGS+=-O3
4 CFLAGS+=-ffloat-store
5 CFLAGS+=-g
6 #CFLAGS+=-DDEBUG
7 #CFLAGS+=-DVDEBUG
8 #CFLAGS+=-DTERSOFF_ORIG
9 CFLAGS+=-DALBE
10 LDFLAGS=-lm
11
12 SOURCE=moldyn.c visual/visual.c random/random.c list/list.c
13
14 #POT_SRC=potentials/tersoff_orig.c
15 POT_SRC=potentials/tersoff.c
16 POT_SRC+=potentials/albe.c
17 POT_SRC+= potentials/lennard_jones.c potentials/harmonic_oscillator.c
18
19 all: sic fluctuation_calc postproc
20
21 sic: 
22         $(CC) $(CFLAGS) $(LDFLAGS) $(POT_SRC) $(SOURCE) sic.c -o sic
23
24 postproc:
25         $(CC) $(CFLAGS) $(LDFLAGS) $(POT_SRC) $(SOURCE) postproc.c -o postproc
26
27 .PHONY:clean
28 clean:
29         rm -f sic postproc