projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce a 2body bond function with callback, modified pair corr calc
[physik/posic.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
8f0d97c
..
c839759
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,27
+1,44
@@
CC = gcc
CFLAGS = -Wall
CC = gcc
CFLAGS = -Wall
+#CFLAGS += -Wextra -pedantic
CFLAGS += -O3
CFLAGS += -g
CFLAGS += -O3
CFLAGS += -g
-
#
CFLAGS += -ffloat-store
+CFLAGS += -ffloat-store
CFLAGS += -DALBE
CFLAGS += -DALBE
+#CFLAGS += -DTERSOFF_ORIG
+
+#CFLAGS += -DSTATIC_LISTS
+
#CFLAGS += -DDEBUG
#CFLAGS += -DDEBUG
+#CFLAGS += -DDSTART=19 -DDEND=40 -DDATOM=5832
#CFLAGS += -DVDEBUG
#CFLAGS += -DVDEBUG
-#CFLAGS += -DTERSOFF_ORIG
-LDFLAGS=-lm
+LDFLAGS = -lm
+#LDFLAGS += -lefence
-DEPS = moldyn.o
visual/visual.o
random/random.o list/list.o
+DEPS = moldyn.o random/random.o list/list.o
DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.o
DEPS += potentials/tersoff.o potentials/albe.o
DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.o
DEPS += potentials/tersoff.o potentials/albe.o
-all: sic fluctuation_calc postproc
+ALL = posic sic fluctuation_calc postproc pair_correlation_calc diffusion_calc
+ALL += bond_analyze
+
+all: $(ALL)
-sic: $(DEPS)
+posic: $(DEPS)
+
+sic: $(DEPS) config.h
postproc: $(DEPS)
postproc: $(DEPS)
+pair_correlation_calc: $(DEPS)
+
+diffusion_calc: $(DEPS)
+
+bond_analyze: $(DEPS)
+
.PHONY:clean
clean:
.PHONY:clean
clean:
- rm -
f sic postproc fluctuation_calc
+ rm -
vf $(ALL) *.o */*.o