]> mj.ucw.cz Git - edid.git/blob - Makefile
edid-drm: Handle monitors in stand-by mode
[edid.git] / Makefile
1 CC=gcc
2 LD=gcc
3 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
4 VERSION=1.1
5 ARCHIVE=edid-$(VERSION).tar.gz
6
7 all: edid
8
9 clean:
10         rm -f *.o edid
11
12 release:
13         git tag v$(VERSION)
14         git push --tags
15         git archive --format=tar --prefix=edid-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
16         scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
17         ssh jw "cd web && bin/release-prog edid $(VERSION)"
18         mv $(ARCHIVE) ~/archives/sw/edid/