projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduced albe_orig (much faster!) + small change for c2, d2, c2/d2 ...
[physik/posic.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
70f4a5d
..
1b19d50
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,29
+1,51
@@
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 += -DNDEBUG
#CFLAGS += -DDEBUG
#CFLAGS += -DDEBUG
+#CFLAGS += -DDSTART=-1 -DDEND=3 -DDATOM=0
#CFLAGS += -DVDEBUG
#CFLAGS += -DVDEBUG
-#CFLAGS += -DTERSOFF_ORIG
-LDFLAGS=-lm
+LDFLAGS = -lm
+#LDFLAGS += -lefence
DEPS = moldyn.o random/random.o list/list.o
DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.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/tersoff.o potentials/albe.o potentials/albe_orig.o
+
+ALL = mdrun sic fluctuation_calc postproc pair_correlation_calc diffusion_calc
+ALL += bond_analyze search_bonds visual_atoms display_atom_data
-all:
posic sic fluctuation_calc postproc
+all:
$(ALL)
-
posic
: $(DEPS)
+
mdrun
: $(DEPS)
-sic: $(DEPS)
+sic: $(DEPS)
config.h
postproc: $(DEPS)
postproc: $(DEPS)
+pair_correlation_calc: $(DEPS)
+
+diffusion_calc: $(DEPS)
+
+bond_analyze: $(DEPS)
+
+search_bonds: $(DEPS)
+
+visual_atoms: $(DEPS)
+
+display_atom_data: $(DEPS)
+
.PHONY:clean
clean:
.PHONY:clean
clean:
- rm -vf
sic postproc fluctuation_calc
*.o */*.o
+ rm -vf
$(ALL)
*.o */*.o