aicodix___dsp/tests/Makefile
2024-02-21 08:20:08 +01:00

23 lines
519 B
Makefile

CXXFLAGS = -I.. -std=c++17 -W -Wall -O2 -fno-exceptions -fno-rtti -ffast-math -ftree-vectorize
CXX = clang++ -stdlib=libc++ -march=native
#CXX = g++ -march=native
#CXX = armv7a-hardfloat-linux-gnueabi-g++ -static -mfpu=neon -march=armv7-a
#QEMU = qemu-arm
#CXX = aarch64-unknown-linux-gnu-g++ -static -march=armv8-a+crc+simd -mtune=cortex-a72
#QEMU = qemu-aarch64
.PHONY: clean test
tests := $(basename $(wildcard *_test.*))
test: $(tests)
$(patsubst %,$(QEMU) ./% >/dev/null;,$(tests))
clean:
rm -f *_test