cubemapper
diff Makefile @ 4:2bfafdced01a
added README, COPYING, and copyright headers
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 30 Jul 2017 16:11:19 +0300 |
parents | 8fc9e1d3aad2 |
children |
line diff
1.1 --- a/Makefile Fri Jul 28 15:50:00 2017 +0300 1.2 +++ b/Makefile Sun Jul 30 16:11:19 2017 +0300 1.3 @@ -1,6 +1,6 @@ 1.4 # -- options -- 1.5 PREFIX = /usr/local 1.6 -opt = -O0 1.7 +opt = -O3 1.8 dbg = -g 1.9 # ------------- 1.10 1.11 @@ -36,3 +36,12 @@ 1.12 .PHONY: cleandep 1.13 cleandep: 1.14 rm -f $(dep) 1.15 + 1.16 +.PHONY: install 1.17 +install: $(bin) 1.18 + mkdir -p $(DESTDIR)$(PREFIX)/bin 1.19 + cp $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) 1.20 + 1.21 +.PHONY: uninstall 1.22 +uninstall: 1.23 + rm -f $(DESTDIR)$(PREFIX)/bin/$(bin)