mdrun iinit. untested + not working by now!
[physik/posic.git] / Makefile
index b25487e..fbe3f59 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CFLAGS = -Wall
 #CFLAGS += -Wextra -pedantic
 CFLAGS += -O3
 CFLAGS += -g
-#CFLAGS += -ffloat-store
+CFLAGS += -ffloat-store
 
 CFLAGS += -DALBE
 #CFLAGS += -DTERSOFF_ORIG
@@ -22,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
 
-posic: $(DEPS)
+all: $(ALL)
+
+mdrun: $(DEPS)
 
 sic: $(DEPS) config.h
 
@@ -32,6 +35,10 @@ postproc: $(DEPS)
 
 pair_correlation_calc: $(DEPS)
 
+diffusion_calc: $(DEPS)
+
+bond_analyze: $(DEPS)
+
 .PHONY:clean
 clean:
-       rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o
+       rm -vf $(ALL) *.o */*.o