introduce a 2body bond function with callback, modified pair corr calc
[physik/posic.git] / Makefile
index 1b875fe..c839759 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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
 
-all: posic sic fluctuation_calc postproc pair_correlation_calc diffusion_calc
+ALL = posic sic fluctuation_calc postproc pair_correlation_calc diffusion_calc
+ALL += bond_analyze
+
+all: $(ALL)
 
 posic: $(DEPS)
 
@@ -34,6 +37,8 @@ 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