| 1 |
# GNUmakefile.preamble - this file is part of Cynthiune -*-makefile-gmake-*- |
| 2 |
# |
| 3 |
# Copyright (C) 2010 Free Software Foundation, Inc. |
| 4 |
# |
| 5 |
# Author: Yavor Doganov <[email protected]> |
| 6 |
# |
| 7 |
# Cynthiune is free software: you can redistribute it and/or modify |
| 8 |
# it under the terms of the GNU General Public License as published by |
| 9 |
# the Free Software Foundation; either version 2, or (at your option) |
| 10 |
# any later version. |
| 11 |
# |
| 12 |
# Cynthiune is distributed in the hope that it will be useful, |
| 13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
# GNU General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License |
| 18 |
# along with this program; see the file COPYING. If not, write to |
| 19 |
# the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
| 20 |
# Boston, MA 02110-1301, USA. |
| 21 |
|
| 22 |
ALSA_CFLAGS := $(shell pkg-config --cflags alsa) |
| 23 |
ALSA_LIBS := $(shell pkg-config --libs alsa) |
| 24 |
|
| 25 |
ADDITIONAL_INCLUDE_DIRS += $(ALSA_CFLAGS) |
| 26 |
BUNDLE_LIBS += $(ALSA_LIBS) |
| 27 |
ADDITIONAL_OBJCFLAGS += -Wall -Wno-import |
| 28 |
|
| 29 |
ifeq ($(debug), yes) |
| 30 |
ADDITIONAL_LDFLAGS += -lmcheck |
| 31 |
endif |