Commit 7a50c629 authored by michael's avatar michael

daxpy makefile

parent 71744360
arm-linux-gnueabihf-gcc -static daxpy.c -o daxpy
arm-linux-gnueabihf-gcc -static -O3 daxpy.c -o daxpy
rm daxpy
FILE1 = basicmath_small.c rad2deg.c cubic.c isqrt.c
FILE2 = basicmath_large.c rad2deg.c cubic.c isqrt.c
all: basicmath_small basicmath_large
basicmath_small: ${FILE1} Makefile
arm-linux-gnueabihf-gcc -static -O3 ${FILE1} -o basicmath_small -lm
basicmath_large: ${FILE2} Makefile
arm-linux-gnueabihf-gcc -static -O3 ${FILE2} -o basicmath_large -lm
rm -rf basicmath_small basicmath_large output*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment