Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 810 Bytes

Makefile.org

File metadata and controls

33 lines (25 loc) · 810 Bytes

buildDir ?= build hdf5Root ?= ” releaseType ?= Debug

.PHONY: all all: flappie flappie: ${buildDir}/flappie cp ${buildDir}/flappie flappie

${buildDir}: mkdir ${buildDir}

.PHONY: test test: ${buildDir}/flappie cd ${buildDir} && \ make test

.PHONY: clean clean: rm -rf ${buildDir} flappie

${buildDir}/flappie: ${buildDir} cd ${buildDir} && \ cmake .. -DCMAKE_C_FLAGS=”-g” -DCMAKE_LIBRARY_PATH=”usr/lib64” -DCMAKE_BUILD_TYPE=${releaseType} -DHDF5_ROOT=${hdf5Root} -DOPENBLAS_ROOT=/usr && \ make flappie