view Makefile.osx @ 8:12be3560ff0f

open(2) needs a third argument when O_CREAT is specified: give it modes of 0666 (like touch(1) does) as the mode is modified by the user's umask.
author mas01cr
date Wed, 25 Jul 2007 15:39:26 +0000
parents 9eab3e0f3068
children 6d899df0cfe4
line wrap: on
line source

CFLAGS=-ggdb
LIBDIR=
LIBS=
SOAPDIR=bin_x86_osx/soapcpp-macosx-2.1.6
SOAPOBS=${SOAPDIR}/stdsoap2.o soapServer.cpp soapClient.cpp soapC.cpp
CMDOBS=cmdline.c
INCDIR=-I${SOAPDIR}

all: audioDB.h audioDB.cpp ${SOAPOBS} ${CMDOBS} Makefile.osx
	${SOAPDIR}/soapcpp2 audioDBws.h
	g++ -o audioDB ${CFLAGS} audioDB.cpp ${SOAPOBS} ${CMDOBS} ${CFLAGS} ${INCDIR} ${LIBDIR} ${LIBS}