summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-06-27 22:12:42 +0200
committerJoe <bousset.rudy@gmail.com>2022-06-27 22:12:42 +0200
commita9be92f7b81976fd833c82285a742be9fc9129d5 (patch)
tree4d61f7e2bfb77341d439deecbce7deb3dc57e06a /Makefile
parentWIP (diff)
downloadmpdview-a9be92f7b81976fd833c82285a742be9fc9129d5.tar.gz
mpdview-a9be92f7b81976fd833c82285a742be9fc9129d5.tar.bz2
mpdview-a9be92f7b81976fd833c82285a742be9fc9129d5.tar.xz
mpdview-a9be92f7b81976fd833c82285a742be9fc9129d5.tar.zst
mpdview-a9be92f7b81976fd833c82285a742be9fc9129d5.zip
WIP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0495d56..f4dea37 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,9 @@ CFLAGS += -pedantic
CFLAGS += -isystem/usr/local/include
# CFLAGS += -march=native -O2 -pipe
+LDFLAGS := -L/usr/local/lib
+LDFLAGS += -lmpd
+
RM := rm -f
MKDIR := mkdir -p
SED := sed -i ''
@@ -59,7 +62,7 @@ INSTALL := install
${CC} -c ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
${NAME}: ${OBJS}
- ${CC} ${CFLAGS} -o ${.TARGET} ${.ALLSRC}
+ ${CC} ${CFLAGS} -o ${.TARGET} ${.ALLSRC} ${LDFLAGS}
all: ${OBJS_DIR} ${NAME}