-VERSION=1.0
+VERSION=1.99
ARCHIVE=arexxd-$(VERSION).tar.gz
CC=gcc
LD=gcc
-CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
-LDLIBS=-lusb-1.0 -lm -lrrd
+CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 -DAREXXD_VERSION='"$(VERSION)"'
+LDLIBS=-lusb-1.0 -lm -lrrd -lmosquitto
all: arexxd
git push --tags
git archive --format=tar --prefix=arexxd-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
- ssh jw "cd www && bin/release-prog arexxd $(VERSION)"
- mv $(ARCHIVE) ~/archives/mj/
+ ssh jw "cd web && bin/release-prog arexxd $(VERSION)"
+ mv $(ARCHIVE) ~/archives/sw/arexxd/