Mercurial > hg > audiodb
diff Makefile @ 138:c337813dcbda
Make the Makefile sufficiently generic to be usable on OS X.
Document the necessary command line in INSTALL.txt
Delete the now unnecessary Makefile.osx and Makefile.win32 files.
author | mas01cr |
---|---|
date | Wed, 24 Oct 2007 13:29:30 +0000 |
parents | ddeb172359a8 |
children | 324699d56429 |
line wrap: on
line diff
--- a/Makefile Wed Oct 24 11:57:20 2007 +0000 +++ b/Makefile Wed Oct 24 13:29:30 2007 +0000 @@ -1,14 +1,13 @@ HELP2MAN=help2man GENGETOPT=gengetopt SOAPCPP2=soapcpp2 +GSOAP_CPP=-lgsoap++ +GSOAP_INCLUDE= CFLAGS=-O3 -g -GSOAP_CPP=-lgsoap++ - EXECUTABLE=audioDB - .PHONY: all clean test all: ${EXECUTABLE} @@ -26,8 +25,8 @@ ${SOAPCPP2} audioDBws.h ${EXECUTABLE}: audioDB.cpp audioDB.h soapServer.cpp soapClient.cpp soapC.cpp cmdline.c cmdline.h - g++ -c ${CFLAGS} -Wall -Werror audioDB.cpp - g++ -o ${EXECUTABLE} ${CFLAGS} audioDB.o soapServer.cpp soapClient.cpp soapC.cpp cmdline.c ${GSOAP_CPP} + g++ -c ${CFLAGS} ${GSOAP_INCLUDE} -Wall -Werror audioDB.cpp + g++ -o ${EXECUTABLE} ${CFLAGS} ${GSOAP_INCLUDE} audioDB.o soapServer.cpp soapClient.cpp soapC.cpp cmdline.c ${GSOAP_CPP} clean: -rm cmdline.c cmdline.h