OSDN Git Service

Fix compiling on glibc Linux
[cinnamon-audio/cinnamon.git] / src / GNUmakefile
1 # Any copyright is dedicated to the Public Domain.
2 # http://creativecommons.org/publicdomain/zero/1.0/
3
4 # GNU makefile.
5
6 include gcc.mk
7
8 BACKEND?=openal
9
10 ifeq "$(BACKEND)" "dsound"
11 LINK?=$(CXX)
12 else ifeq "$(BACKEND)" "oss"
13 EXTRALIBS=-lpthread
14 LINK?="$(CC)"
15 else ifeq "$(BACKEND)" "openal"
16 EXTRALIBS=-lopenal
17 LINK?="$(CC)"
18 else
19 endif
20 LINK?="$(CC)"
21 include unix.mk