#
# Makefile rules for the NormalizInterface package
#
KEXT_NAME = NormalizInterface
KEXT_SOURCES = src/normaliz.cc

# workaround for building with GAP 4.11 on Cygwin: we need -std=gnu++11
# instead of -std=c++11 to avoid an error during compilation; see
# https://github.com/gap-packages/NormalizInterface/pull/91 for details
KEXT_CXXFLAGS =  -I/usr/include -std=gnu++14
KEXT_LDFLAGS = -flto=auto -lgmp  -L/usr/lib -lnormaliz -lstdc++

KEXT_USE_AUTOCONF = 1

# include shared GAP package build system
GAPPATH = /usr/lib64/gap
include Makefile.gappkg
