Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
DLR-AMR
GitHub Repository: DLR-AMR/t8code
Path: blob/main/Makefile.t8.pre.in
501 views

# This file is part of t8code
# Use `include /path/to/Makefile.t8.mk' in your Makefile
# to use T8 in your project without autotools

prefix = @prefix@
exec_prefix = @exec_prefix@
t8_sysconfdir = @sysconfdir@

@T8_SC_MK_INCLUDE@
@T8_P4EST_MK_INCLUDE@

# T8_CC and T8_CFLAGS may not be necessary for your project
T8_CC = @CC@
T8_CFLAGS = @CFLAGS@

# These pull in T8 but none of its dependencies
T8_PKG_CPPFLAGS = -I@includedir@
T8_PKG_LDFLAGS = -L@libdir@
T8_PKG_LIBS = -lt8

# These pull in everything needed by t8
T8_CPPFLAGS = @CPPFLAGS@ \
  $(SC_PKG_CPPFLAGS) $(P4EST_PKG_CPPFLAGS) $(T8_PKG_CPPFLAGS)
T8_LDFLAGS = @LDFLAGS@ \
  $(SC_PKG_LDFLAGS) $(P4EST_PKG_LDFLAGS) $(T8_PKG_LDFLAGS)
T8_LIBS = $(T8_PKG_LIBS) $(P4EST_PKG_LIBS) $(SC_PKG_LIBS) @LIBS@