From 09355b9299ddfa80465aff01b94e9d4e3f5c1961 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 8 Jun 2011 17:55:40 +0200 Subject: waitress: Rewrite split url Accepts user and password in urls now. Tests added. --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3