projects
/
assignment-template.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc2f27
)
No need to use mpicc to compile the plot_image examples. Use gcc instead.
author
W. Trevor King
<wking@drexel.edu>
Sat, 21 Jan 2012 17:41:22 +0000
(12:41 -0500)
committer
W. Trevor King
<wking@tremily.us>
Fri, 22 Feb 2013 17:11:10 +0000
(09:11 -0800)
This requires linking libm explicitly to define `sin` and `cos`.
src/plot_image/Makefile
patch
|
blob
|
history
diff --git
a/src/plot_image/Makefile
b/src/plot_image/Makefile
index d0e5377d1cfb964fe1a4080731cb8ef25020bee7..bd5cea9eaea8d33fd852189fc841f003d96cc7eb 100644
(file)
--- a/
src/plot_image/Makefile
+++ b/
src/plot_image/Makefile
@@
-1,7
+1,7
@@
-CC = /usr/bin/
mpi
cc
+CC = /usr/bin/
g
cc
CFLAGS =
LD = $(CC)
-LDFLAGS =
+LDFLAGS =
-lm
RM = /bin/rm
EXAMPLES = rectangle sharp sinusoid
EXECS = $(EXAMPLES:%=gen_data_%)