Skip to content
Snippets Groups Projects
Commit e9ff2fd3 authored by Moritz Hanke's avatar Moritz Hanke
Browse files

adds ICON direcotry as potential source for YAC library to src/Makefile

* the YAC in the ICON directory should be configured with --enable-utils
parent 6f0183ab
No related branches found
No related tags found
No related merge requests found
......@@ -3,16 +3,19 @@
# SPDX-License-Identifier: BSD-3-Clause
YAC_ROOT ?= /home/k/k202077/bin/YAC_openmpi-4.1.2-gcc-11.2.0
ICON_ROOT ?= /work/k20200/k202077/icon-mpim
PROJ_ROOT ?= /sw/spack-levante/proj-8.1.0-i6a6ah
CFLAGS = \
-std=gnu99 -O0 -g \
$(shell export PKG_CONFIG_PATH=$(YAC_ROOT)/lib/pkgconfig ; pkg-config yac-core --cflags) \
$(shell export PKG_CONFIG_PATH=$(YAC_ROOT)/lib/pkgconfig:$(ICON_ROOT)/externals/yac/src/pkgconfig ; pkg-config yac-mci --cflags) \
$(shell export PKG_CONFIG_PATH=$(YAC_ROOT)/lib/pkgconfig:$(ICON_ROOT)/externals/yac/src/pkgconfig ; pkg-config yac-utils --cflags) \
$(shell export PKG_CONFIG_PATH=$(PROJ_ROOT)/lib/pkgconfig ; pkg-config proj --cflags) \
LIBS = \
-lyac_utils \
$(shell export PKG_CONFIG_PATH=$(YAC_ROOT)/lib/pkgconfig ; pkg-config yac --libs) \
$(shell export PKG_CONFIG_PATH=$(YAC_ROOT)/lib/pkgconfig:$(ICON_ROOT)/externals/yac/src/pkgconfig ; pkg-config yac-mci --libs) \
$(shell export PKG_CONFIG_PATH=$(YAC_ROOT)/lib/pkgconfig:$(ICON_ROOT)/externals/yac/src/pkgconfig ; pkg-config yac-utils --libs) \
$(shell export PKG_CONFIG_PATH=$(PROJ_ROOT)/lib/pkgconfig ; pkg-config proj --libs)
LDFLAGS = $(CFLAGS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment