X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=Makefile;h=83a14b6cf11f135ee76cccba52921c99745ba3da;hb=b3f72740276662c09ff43c294b04409a5bb2e013;hp=70f4a5d16798107d33343f80e6f74a61d8bc610c;hpb=c40d54eb3e319b17b2f6174c4eddcfd6ee3a407b;p=physik%2Fposic.git diff --git a/Makefile b/Makefile index 70f4a5d..83a14b6 100644 --- a/Makefile +++ b/Makefile @@ -1,29 +1,35 @@ CC = gcc CFLAGS = -Wall +#CFLAGS += -Wextra -pedantic CFLAGS += -O3 CFLAGS += -g #CFLAGS += -ffloat-store CFLAGS += -DALBE +#CFLAGS += -DSTATIC_LISTS #CFLAGS += -DDEBUG +CFLAGS += -DDSTART=400 -DDEND=600 #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 -all: posic sic fluctuation_calc postproc +all: posic sic fluctuation_calc postproc pair_correlation_calc posic: $(DEPS) -sic: $(DEPS) +sic: $(DEPS) config.h postproc: $(DEPS) +pair_correlation_calc: $(DEPS) + .PHONY:clean clean: - rm -vf sic postproc fluctuation_calc *.o */*.o + rm -vf sic postproc fluctuation_calc pair_correlation_calc *.o */*.o