X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=Makefile;h=83a14b6cf11f135ee76cccba52921c99745ba3da;hb=e1080fc0dd66b0cf5b7715c5e99e7a34ac04a8cf;hp=0e7b1228cd17cacbffb916c17c6d36613190942a;hpb=b5b47daaa3718c4dec2056fe5147668023575b8e;p=physik%2Fposic.git diff --git a/Makefile b/Makefile index 0e7b122..83a14b6 100644 --- a/Makefile +++ b/Makefile @@ -1,30 +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