summaryrefslogtreecommitdiffstats
path: root/build/linux/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'build/linux/Makefile.in')
-rw-r--r--build/linux/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index be50cbf..3e8bca1 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -57,6 +57,11 @@ MEXLDFLAGS='$$LDFLAGS $(LDFLAGS)'
MEXLIBS ="-L.libs -lut"
MEXSUFFIX = @MEXSUFFIX@
MEX = @MEX@
+
+ifeq ($(cuda),yes)
+MEXFLAGS += -DASTRA_CUDA
+endif
+
endif
LIBDIR=/usr/local/lib