X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=Makefile;h=1b19d50171120e788d68e0af830d6d2f00eceb9c;hb=520d9dd22e61fb0b303733421d760da609dd1b3c;hp=73645df0606362e59a2d6259400aefb0fc79edf1;hpb=dff2917d22ed07707d222bc10fab7370356699dc;p=physik%2Fposic.git diff --git a/Makefile b/Makefile index 73645df..1b19d50 100644 --- a/Makefile +++ b/Makefile @@ -1,32 +1,51 @@ CC = gcc CFLAGS = -Wall +#CFLAGS += -Wextra -pedantic CFLAGS += -O3 CFLAGS += -g -#CFLAGS += -ffloat-store +CFLAGS += -ffloat-store CFLAGS += -DALBE +#CFLAGS += -DTERSOFF_ORIG + +#CFLAGS += -DSTATIC_LISTS + +#CFLAGS += -DNDEBUG #CFLAGS += -DDEBUG -CFLAGS += -DDSTART=400 -DDEND=600 +#CFLAGS += -DDSTART=-1 -DDEND=3 -DDATOM=0 #CFLAGS += -DVDEBUG -#CFLAGS += -DTERSOFF_ORIG -LDFLAGS=-lm +LDFLAGS = -lm +#LDFLAGS += -lefence 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 +DEPS += potentials/tersoff.o potentials/albe.o potentials/albe_orig.o + +ALL = mdrun sic fluctuation_calc postproc pair_correlation_calc diffusion_calc +ALL += bond_analyze search_bonds visual_atoms display_atom_data -all: posic sic fluctuation_calc postproc pair_correlation_calc +all: $(ALL) -posic: $(DEPS) +mdrun: $(DEPS) -sic: $(DEPS) +sic: $(DEPS) config.h 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 *.o */*.o + rm -vf $(ALL) *.o */*.o