瀏覽代碼

Restore spuriously-dropped mandelbrot example

Samuel Thibault 12 年之前
父節點
當前提交
697ef3caca
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      examples/Makefile.am

+ 7 - 0
examples/Makefile.am

@@ -183,6 +183,7 @@ examplebin_PROGRAMS +=				\
 	sched_ctx/sched_ctx			\
 	reductions/dot_product			\
 	reductions/minmax_reduction		\
+	mandelbrot/mandelbrot			\
 	ppm_downscaler/ppm_downscaler		\
 	ppm_downscaler/yuv_downscaler
 
@@ -791,6 +792,12 @@ endif
 # Mandelbrot Set #
 ##################
 
+mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
+if HAVE_X11
+mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
+mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) -lX11
+endif
+
 ################
 # Top Examples #
 ################