summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsin2015-01-31 11:43:33 +0000
committersin2015-01-31 11:44:14 +0000
commitcc262554a1078e572813e55ad031e146c33c8573 (patch)
tree0410d334fe2c1fe577aff78db096b3730445842e /Makefile
parentaa095b6d52ca4fa3b053d15c871c6ece34f99d1c (diff)
Add uninstall, dist and clean target to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7ba18d1..fede34d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,22 @@
1VERSION = 0.0
1PREFIX = /usr/local 2PREFIX = /usr/local
2 3
3install: 4install:
4 mkdir -p $(DESTDIR)$(PREFIX)/include/fortify 5 mkdir -p $(DESTDIR)$(PREFIX)/include/fortify
5 cp -r include/* $(DESTDIR)$(PREFIX)/include/fortify 6 cp -R include/* $(DESTDIR)$(PREFIX)/include/fortify
7
8uninstall:
9 rm -rf $(DESTDIR)$(PREFIX)/include/fortify
10
11dist: clean
12 mkdir -p fortify-$(VERSION)
13 cp -R LICENSE Makefile include fortify-$(VERSION)
14 tar -cf fortify-$(VERSION).tar fortify-$(VERSION)
15 gzip fortify-$(VERSION).tar
16 rm -rf fortify-$(VERSION)
17
18clean:
19 rm -f fortify-$(VERSION).tar.gz
6 20
7.PHONY: 21.PHONY:
8 install 22 install uninstall dist clean