merged in GPL header
[jackctlmmc.git] / GNUmakefile
blob88f6f0d68fae14d700aeb4e9eae9ede462d605bc
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.
6 #
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))
18 OBJECTS=main.o common.o
20 # rebuild by default, until we have dependecies
21 default: rebuild
23 jackctlmmc: $(OBJECTS)
24 gcc $(LIBS) -o $@ $(OBJECTS)
26 clean:
27 rm -f jackctlmmc
28 rm -rf *.o
30 rebuild: clean jackctlmmc