Add c standard
This commit is contained in:
parent
95cfa8c1e3
commit
91436fe48b
4
makefile
4
makefile
@ -1,8 +1,8 @@
|
||||
sequential: src/sequential.c src/util.c src/kmp.c build
|
||||
gcc src/kmp.c src/util.c src/sequential.c -o build/kmp-s.out
|
||||
gcc -std=c99 src/kmp.c src/util.c src/sequential.c -o build/kmp-s.out
|
||||
|
||||
sequential-time: src/sequential.c src/util.c src/kmp.c build
|
||||
gcc -D TIME src/kmp.c src/util.c src/sequential.c -o build/kmp-st.out
|
||||
gcc -std=c99 -D TIME src/kmp.c src/util.c src/sequential.c -o build/kmp-st.out
|
||||
|
||||
parallel: src/parallel.c src/util.c src/kmp.c build
|
||||
mpicc -std=c99 src/parallel.c src/util.c src/kmp.c -lm -o build/kmp-p.out
|
||||
|
Loading…
Reference in New Issue
Block a user