aicodix___code/tests/Makefile
Ahmet Inan 986059694e added support for aarch64
__ARM_NEON__ is not defined on gcc anymore ..
2023-05-05 08:06:59 +02:00

23 lines
477 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
#QEMU = qemu-aarch64
.PHONY: clean test
tests := $(basename $(wildcard *_test.*))
test: $(tests)
$(patsubst %,$(QEMU) ./% >/dev/null;,$(tests))
clean:
rm -f *_test