beegfs/fsck/build/Makefile
2025-08-10 01:34:16 +02:00

29 lines
567 B
Makefile
Executable File

include ../../build/Makefile
main := ../source/program/Main.cpp
sources := $(filter-out $(main), $(shell find ../source -iname '*.cpp'))
$(call build-static-library,\
Fsck,\
$(sources),\
common dl nl3-route,\
../source)
$(call define-dep-lib,\
Fsck,\
-I ../source,\
$(build_dir)/libFsck.a)
$(call build-executable,\
beegfs-fsck,\
$(main),\
Fsck common dl nl3-route)
$(call build-test,\
test-runner,\
$(shell find ../tests -name '*.cpp'),\
Fsck common dl nl3-route,\
../tests)
CXXFLAGS += -DBOOST_RESULT_OF_USE_DECLTYPE