aicodix___code/tests/Makefile
2018-12-12 12:13:58 +01:00

20 lines
384 B
Makefile

CXXFLAGS = -I.. -std=c++11 -W -Wall -Ofast -fno-exceptions -fno-rtti
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
.PHONY: clean test
tests := $(basename $(wildcard *_test.*))
test: $(tests)
$(patsubst %,$(QEMU) ./% >/dev/null;,$(tests))
clean:
rm -f *_test