1 # Copyright (c) 2006,2007,2008 Nedko Arnaudov <nedko@arnaudov.name>
3 # This program is free software; you can redistribute it and/or modify it under
4 # the terms of the GNU General Public License as published by the Free Software
5 # Foundation; version 2 of the License.
7 # This program is distributed in the hope that it will be useful, but WITHOUT ANY
8 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
11 # You should have received a copy of the GNU General Public License along
12 # with this program; if not, write to the Free Software Foundation, Inc.,
13 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
15 CFLAGS
:= $(strip $(shell pkg-config
--cflags lash-1.0 jack
)) -Wall
# -Werror
16 LIBS
:= $(strip $(shell pkg-config
--libs lash-1.0 jack alsa
))
20 OBJECTS
=main.o common.o
22 default
: jackctlmmc qjackmmc
24 jackctlmmc
: $(OBJECTS
)
25 gcc
$(LIBS
) -o
$@
$(OBJECTS
)
28 cd qt
&& $(QMAKE
) -unix
-o Makefile qjackmmc.pro
&& make
34 if
test -f qt
/Makefile
; then cd qt
&& make
clean && rm Makefile src
/Makefile
; fi
36 rebuild
: clean jackctlmmc