noidb/Makefile

11 lines
436 B
Makefile
Raw Normal View History

2024-04-25 02:15:50 +00:00
COMPILER = g++
CFLAGS = -g
MODE = release
app: /opt/seastar/build/$(MODE)/libseastar.a app.cc
$(COMPILER) app.cc $(shell pkg-config --libs --cflags --static /opt/seastar/build/$(MODE)/seastar.pc) $(CFLAGS) -o app
/opt/seastar/build/$(MODE)/libseastar.a:
cd /opt/seastar && ./configure.py --mode="$(MODE)" --disable-dpdk --disable-hwloc --cflags="$(CFLAGS)" --compiler="$(COMPILER)"
ninja -C /opt/seastar/build/$(MODE) libseastar.a