ovr_sdk
diff Makefile @ 2:e01da1033ca5
first wave of modifications
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 14 Jan 2015 06:58:21 +0200 |
parents | 1b39a1b46319 |
children |
line diff
1.1 --- a/Makefile Wed Jan 14 06:51:30 2015 +0200 1.2 +++ b/Makefile Wed Jan 14 06:58:21 2015 +0200 1.3 @@ -63,6 +63,7 @@ 1.4 export DEBUG 1.5 1.6 ####### Target settings 1.7 +PREFIX = /usr/local 1.8 LIBOVRPATH = ./LibOVR 1.9 OWDPATH = ./Samples/OculusWorldDemo 1.10 1.11 @@ -86,6 +87,15 @@ 1.12 $(MAKE) -C $(LIBOVRPATH) clean 1.13 $(MAKE) -C $(OWDPATH) clean 1.14 1.15 +install: oculusd 1.16 + mkdir -p $(DESTDIR)$(PREFIX)/bin 1.17 + cp oculusd $(DESTDIR)$(PREFIX)/bin/oculusd 1.18 + $(MAKE) -C $(LIBOVRPATH) install 1.19 + 1.20 +uninstall: 1.21 + rm $(DESTDIR)$(PREFIX)/bin/oculusd 1.22 + $(MAKE) -C $(LIBOVRPATH) uninstall 1.23 + 1.24 force_look: 1.25 true 1.26