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

27 lines
574 B
Makefile

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