+VERSION=1.3
CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
DESTDIR=/
clean:
rm -f suidgw *.o
+
+release:
+ git tag v$(VERSION)
+ git push --tags
+ git archive --format=tar --prefix=suidgw-$(VERSION)/ HEAD | gzip >suidgw-$(VERSION).tar.gz
+ rsync suidgw-$(VERSION).tar.gz jw:/home/ftp/pub/mj/linux/
+ ssh jw 'cd web && bin/release-prog suidgw $(VERSION)'
+
+.PHONY: all test-setup install release