]> www.hackdaworld.org Git - physik/posic.git/blob - Makefile
Makefile: clean everything, moldyn: add time info
[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 += -DDEBUG
10 #CFLAGS += -DVDEBUG
11 #CFLAGS += -DTERSOFF_ORIG
12
13 LDFLAGS=-lm
14
15 DEPS = moldyn.o visual/visual.o random/random.o list/list.o
16 DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.o
17 DEPS += potentials/tersoff.o potentials/albe.o
18
19 all: posic sic fluctuation_calc postproc
20
21 posic: $(DEPS)
22
23 sic: $(DEPS)
24
25 postproc: $(DEPS)
26
27 .PHONY:clean
28 clean:
29         rm -vf sic postproc fluctuation_calc *.o */*.o