X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fposic.git;a=blobdiff_plain;f=Makefile;h=224fe72037ef5737795f13f36a9cea200b2f2587;hp=462a9b7f4e5b53e90d7938bba6050e34df3d0a3a;hb=153ffa76a126130faca5be28aefad32f4c8b623d;hpb=1261bf82aa2e5758d8dd28bed88c96ed5fcc979c diff --git a/Makefile b/Makefile index 462a9b7..224fe72 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,13 @@ CFLAGS = -Wall -Winline #CFLAGS += -Wextra -pedantic CFLAGS += -O3 -march=native -msse2 -mfpmath=sse CFLAGS += -g +#CFLAGS += -pg #CFLAGS += -ffloat-store -#CFLAGS+= -DPARALLEL -fopenmp +#CFLAGS += -DPARALLEL -fopenmp +#CFLAGS += -DPTHREADS -lpthread +CFLAGS += -DVISUAL_THREAD -lpthread +#CFLAGS += -DPTHREADS -DVISUAL_THREAD -lpthread CFLAGS += -DALBE CFLAGS += -DALBE_FAST @@ -20,6 +24,7 @@ CFLAGS += -DLOWMEM_LISTS #CFLAGS += -DVDEBUG LDFLAGS = -lm +#LDFLAGS += -lc_p #LDFLAGS += -lefence DEPS = moldyn.o random/random.o list/list.o @@ -33,7 +38,8 @@ SRC += potentials/tersoff.c potentials/albe.c SRC += potentials/albe_fast.c ALL = mdrun sic fluctuation_calc postproc pair_correlation_calc diffusion_calc -ALL += bond_analyze search_bonds visual_atoms display_atom_data atom_match +ALL += diffusion_calc_ver2 bond_analyze search_bonds visual_atoms +ALL += display_atom_data atom_match all: $(ALL) @@ -49,6 +55,8 @@ pair_correlation_calc: $(DEPS) diffusion_calc: $(DEPS) +diffusion_calc_ver2: $(DEPS) + bond_analyze: $(DEPS) search_bonds: $(DEPS)