summaryrefslogtreecommitdiff
path: root/Makefile
blob: 92626e1f6daf2197fe627e2509c36fee2260f43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DEPS_LIBS=`pkg-config --libs libosso-abook-1.0`
DEPS_CFLAGS=`pkg-config --cflags libosso-abook-1.0`

CFLAGS+=-Wall

jid-to-email: jid-to-email.c Makefile
	gcc -o $@ $(CFLAGS) $(DEPS_CFLAGS) $(DEPS_LIBS) $<

install:
	@echo "Sorry, I'm too lazy"
	@false

clean:
	if [ -e jid-to-email ]; then rm jid-to-email; fi
	if [ -e jid-to-email.gz ]; then rm jid-to-email.gz; fi

jid-to-email.gz: jid-to-email
	strip $<
	gzip -9 -c $< > $@

dist: jid-to-email.gz