From 68c095834b5dbd9813f95829777264946af738f9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 21 Jan 2012 12:41:22 -0500 Subject: [PATCH] No need to use mpicc to compile the plot_image examples. Use gcc instead. This requires linking libm explicitly to define `sin` and `cos`. --- src/plot_image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plot_image/Makefile b/src/plot_image/Makefile index d0e5377..bd5cea9 100644 --- a/src/plot_image/Makefile +++ b/src/plot_image/Makefile @@ -1,7 +1,7 @@ -CC = /usr/bin/mpicc +CC = /usr/bin/gcc CFLAGS = LD = $(CC) -LDFLAGS = +LDFLAGS = -lm RM = /bin/rm EXAMPLES = rectangle sharp sinusoid EXECS = $(EXAMPLES:%=gen_data_%) -- 2.26.2