Use the os's specified c compiler
This commit is contained in:
parent
a83f5d6032
commit
187359d84f
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ target:
|
|||||||
mkdir -p target
|
mkdir -p target
|
||||||
|
|
||||||
target/nbody.c: target
|
target/nbody.c: target
|
||||||
clang -O3 -fomit-frame-pointer -march=native -funroll-loops \
|
$(cc) -O3 -fomit-frame-pointer -march=native -funroll-loops \
|
||||||
nbody.c -o target/nbody.c -lm
|
nbody.c -o target/nbody.c -lm
|
||||||
|
|
||||||
target/nbody-1:
|
target/nbody-1:
|
||||||
|
Loading…
Reference in New Issue
Block a user