#CFLAGS += -Wextra -pedantic
CFLAGS += -O3
CFLAGS += -g
-#CFLAGS += -ffloat-store
+CFLAGS += -ffloat-store
CFLAGS += -DALBE
#CFLAGS += -DTERSOFF_ORIG
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 display_atom_data
-posic: $(DEPS)
+all: $(ALL)
+
+mdrun: $(DEPS)
sic: $(DEPS) config.h
pair_correlation_calc: $(DEPS)
+diffusion_calc: $(DEPS)
+
+bond_analyze: $(DEPS)
+
+search_bonds: $(DEPS)
+
+visual_atoms: $(DEPS)
+
+display_atom_data: $(DEPS)
+
.PHONY:clean
clean:
- rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o
+ rm -vf $(ALL) *.o */*.o