mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-08-24 22:21:43 +02:00
Using pkg-config for hdf5 in Makefile
This commit is contained in:
parent
728d7bb3ad
commit
08a28c9ae4
@ -9,8 +9,8 @@ CFLAGS=-fPIC -fexceptions -Wall -Werror -Wpedantic -Wextra
|
||||
FC=gfortran -g
|
||||
FFLAGS=-fPIC -fcheck=all -Waliasing -Wampersand -Wconversion -Wsurprising -Wintrinsics-std -Wno-tabs -Wintrinsic-shadow -Wline-truncation -Wreal-q-constant -Wuninitialized -fbacktrace -ffpe-trap=zero,overflow,underflow -finit-real=nan
|
||||
|
||||
LIBS= -L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -lz -lm -lhdf5 -lhdf5_hl -lgfortran
|
||||
INCLUDE = -I/usr/include/hdf5/serial
|
||||
LIBS= $(shell pkg-config --libs hdf5) -lhdf5_hl -lgfortran
|
||||
INCLUDE = $(shell pkg-config --cflags hdf5)
|
||||
endif
|
||||
|
||||
ifeq ($(COMPILER),INTEL)
|
||||
|
Loading…
Reference in New Issue
Block a user