X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=1c1329759b565b6e71e0f617e1bc144623d85bee;hb=04b748ae0227816a73a5edf5e6b624ce2a67b8b8;hp=04cfded65c779edee889e0d53f196c8c798e9ada;hpb=889ac656591c0cc0c0a3ce114f33144561a9618d;p=arexx.git diff --git a/Makefile b/Makefile index 04cfded..1c13297 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,24 @@ +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: arexx +all: arexxd clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` - rm -f arexx + rm -f arexxd + +install: all + install arexxd /usr/local/sbin/ + +release: + git tag v$(VERSION) + git push --tags + git archive --format=tar --prefix=arexxd-$(VERSION)/ HEAD | gzip >$(ARCHIVE) + scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/ + ssh jw "cd web && bin/release-prog arexxd $(VERSION)" + mv $(ARCHIVE) ~/archives/sw/arexxd/