X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=Makefile;h=47670a825c9f5cf3af48675999688c6945ebc9e4;hb=55cd4d049604f2cf1d0fff095e6bcd13ec25780f;hp=76ed2d242ecd9e4c019774fa5317195e07958dc4;hpb=c9e778152687b08b5f2126427d940b75f3d96872;p=physik%2Fposic.git diff --git a/Makefile b/Makefile index 76ed2d2..47670a8 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,15 @@ 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=19 -DDEND=40 -DDATOM=5832 +#CFLAGS += -DDEBUG +#CFLAGS += -DDSTART=19 -DDEND=40 -DDATOM=5832 #CFLAGS += -DVDEBUG LDFLAGS = -lm @@ -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 search_bonds visual_atoms display_atom_data -posic: $(DEPS) +all: $(ALL) + +mdrun: $(DEPS) sic: $(DEPS) config.h @@ -32,6 +35,16 @@ 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: - rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o + rm -vf $(ALL) *.o */*.o