search bonds using infrastructure now, new visual atoms tool
[physik/posic.git] / Makefile
index 83a14b6..36c411e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,16 @@ CFLAGS = -Wall
 #CFLAGS += -Wextra -pedantic
 CFLAGS += -O3
 CFLAGS += -g
-#CFLAGS += -ffloat-store
+CFLAGS += -ffloat-store
 
 CFLAGS += -DALBE
+#CFLAGS += -DTERSOFF_ORIG
+
 #CFLAGS += -DSTATIC_LISTS
+
 #CFLAGS += -DDEBUG
-CFLAGS += -DDSTART=400 -DDEND=600
+#CFLAGS += -DDSTART=19 -DDEND=40 -DDATOM=5832
 #CFLAGS += -DVDEBUG
-#CFLAGS += -DTERSOFF_ORIG
 
 LDFLAGS = -lm
 #LDFLAGS += -lefence
@@ -20,9 +22,12 @@ 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
 
-all: posic sic fluctuation_calc postproc pair_correlation_calc
+ALL = mdrun sic fluctuation_calc postproc pair_correlation_calc diffusion_calc
+ALL += bond_analyze search_bonds visual_atoms
+
+all: $(ALL)
 
-posic: $(DEPS)
+mdrun: $(DEPS)
 
 sic: $(DEPS) config.h
 
@@ -30,6 +35,14 @@ postproc: $(DEPS)
 
 pair_correlation_calc: $(DEPS)
 
+diffusion_calc: $(DEPS)
+
+bond_analyze: $(DEPS)
+
+search_bonds: $(DEPS)
+
+visual_atoms: $(DEPS)
+
 .PHONY:clean
 clean:
-       rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o
+       rm -vf $(ALL) *.o */*.o