projects
/
headphoned
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add Debian packaging infrastructure
[headphoned]
/
makefile
1
OBJS = src/headphoned.o
2
PROG = headphoned
3
CFLAGS += `pkg-config --cflags glib-2.0 gconf-2.0 libosso` -Os -Wall
4
LDFLAGS += `pkg-config --libs glib-2.0 gconf-2.0 libosso`
5
6
DESTDIR ?=
7
PREFIX ?= /usr
8
9
$(PROG): $(OBJS)
10
$(CC) $(LDFLAGS) $(LIBS) $^ -o $@
11
strip $@
12
13
install: $(PROG)
14
install $(PROG) $(DESTDIR)$(PREFIX)/sbin/$(PROG)
15
16
clean:
17
rm -f $(PROG) $(OBJS)
18
19
.PHONY: install clean
20