CC=gcc
LD=gcc
CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
+VERSION=1.1
+ARCHIVE=edid-$(VERSION).tar.gz
all: edid
clean:
rm -f *.o edid
+
+release:
+ git tag v$(VERSION)
+ git push --tags
+ git archive --format=tar --prefix=edid-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
+ scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
+ ssh jw "cd web && bin/release-prog edid $(VERSION)"
+ mv $(ARCHIVE) ~/archives/mj/