| # SPDX-License-Identifier: GPL-2.0 | |
| CFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Werror -I../.. -I../../../../.. -fno-omit-frame-pointer -fsanitize=address -g | |
| LDLIBS := -llz4 -lzstd -lcrypto -lpthread -fsanitize=address | |
| TEST_GEN_PROGS := incfs_test incfs_stress incfs_perf | |
| include ../../lib.mk | |
| # Put after include ../../lib.mk since that changes $(TEST_GEN_PROGS) | |
| # Otherwise you get multiple targets, this becomes the default, and it's a mess | |
| EXTRA_SOURCES := utils.c | |
| $(TEST_GEN_PROGS) : $(EXTRA_SOURCES) |