use pkg-config for asio and jsoncpp

This commit is contained in:
Sébastien Bourdeauducq 2025-01-19 19:29:24 +08:00
parent f24c710af2
commit 8dc3b45f63

View File

@ -1,8 +1,8 @@
PROG= sndlock
SRCS= imgui_impl_glfw.cpp imgui_impl_opengl3.cpp imgui_draw.cpp imgui_widgets.cpp imgui_tables.cpp imgui.cpp kirdy.cpp sndlock.cpp
CXXOPTS= -Wall `pkg-config --cflags glfw3 gl`
LDFLAGS= `pkg-config --libs glfw3 gl`
LDADD= -lsndio -lm -ljsoncpp
CXXOPTS= -Wall `pkg-config --cflags glfw3 gl asio jsoncpp`
LDFLAGS= `pkg-config --libs glfw3 gl asio jsoncpp`
LDADD= -lsndio -lm
BINDIR= /usr/local/bin
NOMAN= noman