projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bond analyze, introduced more comfortable set potential function,
[physik/posic.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
76ed2d2
..
c839759
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,15
+4,15
@@
CFLAGS = -Wall
#CFLAGS += -Wextra -pedantic
CFLAGS += -O3
CFLAGS += -g
#CFLAGS += -Wextra -pedantic
CFLAGS += -O3
CFLAGS += -g
-
#
CFLAGS += -ffloat-store
+CFLAGS += -ffloat-store
CFLAGS += -DALBE
#CFLAGS += -DTERSOFF_ORIG
#CFLAGS += -DSTATIC_LISTS
CFLAGS += -DALBE
#CFLAGS += -DTERSOFF_ORIG
#CFLAGS += -DSTATIC_LISTS
-CFLAGS += -DDEBUG
-CFLAGS += -DDSTART=19 -DDEND=40 -DDATOM=5832
+
#
CFLAGS += -DDEBUG
+
#
CFLAGS += -DDSTART=19 -DDEND=40 -DDATOM=5832
#CFLAGS += -DVDEBUG
LDFLAGS = -lm
#CFLAGS += -DVDEBUG
LDFLAGS = -lm
@@
-22,7
+22,10
@@
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: posic sic fluctuation_calc postproc pair_correlation_calc
+ALL = posic sic fluctuation_calc postproc pair_correlation_calc diffusion_calc
+ALL += bond_analyze
+
+all: $(ALL)
posic: $(DEPS)
posic: $(DEPS)
@@
-32,6
+35,10
@@
postproc: $(DEPS)
pair_correlation_calc: $(DEPS)
pair_correlation_calc: $(DEPS)
+diffusion_calc: $(DEPS)
+
+bond_analyze: $(DEPS)
+
.PHONY:clean
clean:
.PHONY:clean
clean:
- rm -vf
sic postproc fluctuation_calc pair_correlation_calc
*.o */*.o
+ rm -vf
$(ALL)
*.o */*.o