Makefile 502 B

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