Browse Source

gcc: Use the OpenCL and CUDA CPPFLAGS when building the examples.

* gcc-plugin/examples/Makefile.am (AM_CPPFLAGS): New variable.
Ludovic Courtès 14 years ago
parent
commit
b6a70d83a3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gcc-plugin/examples/Makefile.am

+ 2 - 0
gcc-plugin/examples/Makefile.am

@@ -17,4 +17,6 @@ noinst_PROGRAMS =				\
   matrix-mult
 
 AM_LDFLAGS = $(top_builddir)/src/libstarpu.la
+
+AM_CPPFLAGS = $(STARPU_OPENCL_CPPFLAGS) $(STARPU_CUDA_CPPFLAGS)
 AM_CFLAGS = -fplugin="$(builddir)/../src/.libs/starpu.so" -Wall