fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

commit cc262554a1078e572813e55ad031e146c33c8573
parent aa095b6d52ca4fa3b053d15c871c6ece34f99d1c
Author: sin <sin@2f30.org>
Date:   Sat, 31 Jan 2015 11:43:33 +0000

Add uninstall, dist and clean target to Makefile

Diffstat:
MMakefile | 18++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,8 +1,22 @@ +VERSION = 0.0 PREFIX = /usr/local install: mkdir -p $(DESTDIR)$(PREFIX)/include/fortify - cp -r include/* $(DESTDIR)$(PREFIX)/include/fortify + cp -R include/* $(DESTDIR)$(PREFIX)/include/fortify + +uninstall: + rm -rf $(DESTDIR)$(PREFIX)/include/fortify + +dist: clean + mkdir -p fortify-$(VERSION) + cp -R LICENSE Makefile include fortify-$(VERSION) + tar -cf fortify-$(VERSION).tar fortify-$(VERSION) + gzip fortify-$(VERSION).tar + rm -rf fortify-$(VERSION) + +clean: + rm -f fortify-$(VERSION).tar.gz .PHONY: - install + install uninstall dist clean