https://github.com/ssvb/tinymembench
Tip revision: a2cf6d7e382e3aea1eb39173174d9fa28cad15f3 authored by Siarhei Siamashka on 14 February 2017, 21:58:50 UTC
Fix use of uninitialized variable 's' (reported by Coverity)
Fix use of uninitialized variable 's' (reported by Coverity)
Tip revision: a2cf6d7
Makefile
all: tinymembench
ifdef WINDIR
CC = gcc
endif
tinymembench: main.c util.o util.h asm-opt.h version.h asm-opt.o x86-sse2.o arm-neon.o mips-32.o aarch64-asm.o
${CC} -O2 ${CFLAGS} -o tinymembench main.c util.o asm-opt.o x86-sse2.o arm-neon.o mips-32.o aarch64-asm.o -lm
util.o: util.c util.h
${CC} -O2 ${CFLAGS} -c util.c
asm-opt.o: asm-opt.c asm-opt.h x86-sse2.h arm-neon.h mips-32.h
${CC} -O2 ${CFLAGS} -c asm-opt.c
x86-sse2.o: x86-sse2.S
${CC} -O2 ${CFLAGS} -c x86-sse2.S
arm-neon.o: arm-neon.S
${CC} -O2 ${CFLAGS} -c arm-neon.S
aarch64-asm.o: aarch64-asm.S
${CC} -O2 ${CFLAGS} -c aarch64-asm.S
mips-32.o: mips-32.S
${CC} -O2 ${CFLAGS} -c mips-32.S
clean:
-rm -f tinymembench
-rm -f tinymembench.exe
-rm -f *.o