Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Wed, Jul 17, 22:59

Makefile

#
# author: gilles.fourestey@epfl.ch
#
SHELL:=/bin/bash
arch = intel
prec = double
#all: precision compile
all: compile
#precision:
# echo "PRECISION := -D_double" > precision.inc
# if [ "$(prec)" == "single" ]; then \
# echo "PRECISION := -D_single" > precision.inc; \
# fi
#fi
compile:
#@make -f Makefile.$(arch)
#echo $(LENSTOOL_DEBUG)
if which nvcc > /dev/null; then \
echo "nvcc detected, compiling the GPU lib"; \
make --silent -f Makefile.GPU.$(arch); \
else \
echo "no nvcc compiler detected"; \
fi
clean:
make -f Makefile.GPU.$(arch) clean

Event Timeline