Przeglądaj źródła

gcc-plugin/examples/Makefile.am: compile own version of loader (instead of supposing the one in examples has already been compiled)

Nathalie Furmento 12 lat temu
rodzic
commit
c5916c6779
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      gcc-plugin/examples/Makefile.am

+ 3 - 3
gcc-plugin/examples/Makefile.am

@@ -28,8 +28,8 @@ endif
 if !STARPU_HAVE_WINDOWS
 ## test loader program
 LOADER			=	loader
-loader_CPPFLAGS =  $(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/
-LOADER_BIN		=	$(abs_top_builddir)/examples/$(LOADER)
+loader_CPPFLAGS		=	$(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/
+LOADER_BIN		=	$(abs_top_builddir)/gcc-plugin/examples/$(LOADER)
 loader_SOURCES		=	../../tests/loader.c
 
 if STARPU_HAVE_AM111
@@ -54,7 +54,7 @@ examplebin_PROGRAMS =			\
 endif STARPU_USE_CPU
 
 AM_LDFLAGS = $(top_builddir)/src/@LIBSTARPU_LINK@
-AM_LDFLAGS += $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) 
+AM_LDFLAGS += $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS)
 
 AM_CPPFLAGS =						\
   -I$(top_srcdir)/include				\