xref: /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593SmuzhiyunCFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Werror -I../.. -I../../../../.. -fno-omit-frame-pointer -fsanitize=address -g
3*4882a593SmuzhiyunLDLIBS := -llz4 -lzstd -lcrypto -lpthread -fsanitize=address
4*4882a593SmuzhiyunTEST_GEN_PROGS := incfs_test incfs_stress incfs_perf
5*4882a593Smuzhiyun
6*4882a593Smuzhiyuninclude ../../lib.mk
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun# Put after include ../../lib.mk since that changes $(TEST_GEN_PROGS)
9*4882a593Smuzhiyun# Otherwise you get multiple targets, this becomes the default, and it's a mess
10*4882a593SmuzhiyunEXTRA_SOURCES := utils.c
11*4882a593Smuzhiyun$(TEST_GEN_PROGS) : $(EXTRA_SOURCES)
12