From 746be68e53661c1de86def1296ccb37704128594 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Sun, 25 Aug 2024 14:35:37 +0800 Subject: [PATCH] wip --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 19e8bdbd..0bf6babf 100644 --- a/Makefile +++ b/Makefile @@ -75,8 +75,8 @@ EXEC = tests/main $(EXEC): $(OBJS) $(CXX) $(LDFLAGS) -o $@ $^ -check: tests/main - export LSAN_OPTIONS=verbosity=2:log_threads=1 +check: $(EXEC) + export LSAN_OPTIONS=verbosity=2:log_threads=1 && \ ifeq ($(processor),$(filter $(processor),aarch64 arm64 arm armv7l)) $(CC) $(ARCH_CFLAGS) -c -O2 sse2neon.h endif @@ -87,7 +87,7 @@ indent: @if ! hash clang-format-12; then echo "clang-format-12 is required to indent"; fi clang-format-12 -i sse2neon.h tests/*.cpp tests/*.h -.PHONY: clean check format +.PHONY: clean check indent clean: $(RM) $(OBJS) $(EXEC) $(deps) sse2neon.h.gch