summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-06-08 17:55:40 +0200
committerLars-Dominik Braun <lars@6xq.net>2011-06-13 20:19:34 +0200
commit09355b9299ddfa80465aff01b94e9d4e3f5c1961 (patch)
tree9af0f3c5f6f3d41771eba6d55185f363c2e3cb3e /Makefile
parent3aff781a610e69a4e49d5db386b9885f1f167451 (diff)
downloadpianobar-windows-09355b9299ddfa80465aff01b94e9d4e3f5c1961.tar.gz
pianobar-windows-09355b9299ddfa80465aff01b94e9d4e3f5c1961.tar.bz2
pianobar-windows-09355b9299ddfa80465aff01b94e9d4e3f5c1961.zip
waitress: Rewrite split url
Accepts user and password in urls now. Tests added.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 05bc01e..6075a01 100644
--- a/Makefile
+++ b/Makefile
@@ -115,15 +115,22 @@ libpiano.so.0: ${LIBPIANO_RELOBJ} ${LIBPIANO_HDR} ${LIBWAITRESS_RELOBJ} \
-I ${LIBEZXML_INCLUDE} -c -fPIC -o $@ $<
clean:
- ${RM} ${PIANOBAR_OBJ} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} ${LIBEZXML_OBJ} \
- ${LIBPIANO_RELOBJ} ${LIBWAITRESS_RELOBJ} ${LIBEZXML_RELOBJ} pianobar \
- libpiano.so* libpiano.a
+ ${RM} ${PIANOBAR_OBJ} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} ${LIBWAITRESS_OBJ}/test.o \
+ ${LIBEZXML_OBJ} ${LIBPIANO_RELOBJ} ${LIBWAITRESS_RELOBJ} \
+ ${LIBEZXML_RELOBJ} pianobar libpiano.so* libpiano.a waitress-test
all: pianobar
debug: pianobar
debug: CFLAGS=-Wall -pedantic -ggdb
+waitress-test: CFLAGS+= -DTEST
+waitress-test: ${LIBWAITRESS_OBJ}
+ ${CC} ${LDFLAGS} ${LIBWAITRESS_OBJ} -o waitress-test
+
+test: waitress-test
+ ./waitress-test
+
ifeq (${DYNLINK},1)
install: pianobar install-libpiano
else