summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2013-08-04 18:53:43 +0200
committerLars-Dominik Braun <lars@6xq.net>2013-08-07 17:37:33 +0200
commitee2e73cd7b5a1de68c8316e916c4ef3a88302bed (patch)
treee952d75d075598123d5ecbe92f14838ce75f6db5 /Makefile
parent36ea2f13f87b9310219790c3cee498201d54f8e0 (diff)
downloadpianobar-ee2e73cd7b5a1de68c8316e916c4ef3a88302bed.tar.gz
pianobar-ee2e73cd7b5a1de68c8316e916c4ef3a88302bed.tar.bz2
pianobar-ee2e73cd7b5a1de68c8316e916c4ef3a88302bed.zip
piano: Generic linked lists
Introduces generic linked list structure and functions (like append, delete, …). Removes a lot of copy&pasted code and improves code readability/reusability. Heads up: This change breaks libpiano’s ABI.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2289b3a..e9362f6 100644
--- a/Makefile
+++ b/Makefile
@@ -48,10 +48,12 @@ LIBPIANO_SRC:=\
${LIBPIANO_DIR}/crypt.c \
${LIBPIANO_DIR}/piano.c \
${LIBPIANO_DIR}/request.c \
- ${LIBPIANO_DIR}/response.c
+ ${LIBPIANO_DIR}/response.c \
+ ${LIBPIANO_DIR}/list.c
LIBPIANO_HDR:=\
${LIBPIANO_DIR}/config.h \
${LIBPIANO_DIR}/crypt.h \
+ ${LIBPIANO_DIR}/list.h \
${LIBPIANO_DIR}/piano.h \
${LIBPIANO_DIR}/piano_private.h
LIBPIANO_OBJ:=${LIBPIANO_SRC:.c=.o}