OSDN Git Service

Fix compiling on OpenBSD for OSS rather than OpenAL
[cinnamon-audio/cinnamon.git] / src / makefile
1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
3
4 # BSD makefile
5
6 .include "gcc.mk"
7
8 BACKEND?=oss
9
10 CURDIR=${PWD}
11 .if "${BACKEND}" == "dsound"
12 LINK?=$(CXX)
13 .else
14 LINK=$(CC)
15 .endif
16
17 .if ${BACKEND} == oss
18 EXTRALIBS=-lossaudio -lpthread
19 .endif
20
21 .include "unix.mk"