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