Makefile (542B)
1 VERSION = 2.1 2 PREFIX = /usr/local 3 4 install: 5 mkdir -p $(DESTDIR)$(PREFIX)/include/fortify 6 cp -R include/* $(DESTDIR)$(PREFIX)/include/fortify 7 8 uninstall: 9 rm -rf $(DESTDIR)$(PREFIX)/include/fortify 10 11 dist: clean 12 mkdir -p fortify-headers-$(VERSION) 13 cp -R LICENSE Makefile README include fortify-headers-$(VERSION) 14 tar -cf fortify-headers-$(VERSION).tar fortify-headers-$(VERSION) 15 gzip fortify-headers-$(VERSION).tar 16 rm -rf fortify-headers-$(VERSION) 17 18 clean: 19 rm -f fortify-headers-$(VERSION).tar.gz 20 21 .PHONY: 22 install uninstall dist clean