]> mj.ucw.cz Git - teatimer.git/blob - Makefile
Add expansions in cmd
[teatimer.git] / Makefile
1 VERSION=1.3
2
3 GTK_LIBS:=$(shell pkg-config --libs gtk+-x11-2.0 glib-2.0)
4 GTK_CFLAGS:=$(shell pkg-config --cflags gtk+-x11-2.0 glib-2.0)
5
6 CFLAGS=-O2 $(GTK_CFLAGS) -Wall -W
7 LDFLAGS=$(GTK_LIBS)
8
9 all: teatimer
10
11 teatimer: teatimer.o
12
13 clean:
14         rm -f teatimer *.o *~
15
16 release:
17         git tag v$(VERSION)
18         git push --tags
19         git archive --format=tar --prefix=teatimer-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
20         scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
21         ssh jw "cd www && bin/release-prog teatimer $(VERSION)"
22         mv $(ARCHIVE) ~/archives/mj/