aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2014-04-14 21:25:09 -0700
committerBrad Davis <[email protected]>2014-04-14 21:25:09 -0700
commit07d0f4d0bbf3477ac6a9584f726e8ec6ab285707 (patch)
tree1854d0c690eff32e77b137567c88a52d56d8b660 /Makefile
parentf28388ff2af14b56ef2d973b2f4f9da021716d4c (diff)
Adding windows 0.3.1 SDK
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile82
1 files changed, 0 insertions, 82 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 62a3687..0000000
--- a/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-#############################################################################
-#
-# Filename : Makefile
-# Content : Makefile for building linux libovr and OculusWorldDemo
-# Created : 2013
-# Authors : Simon Hallam and Peter Giokaris
-# Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved
-# Instruction : The g++ compiler and stdndard lib packages need to be
-# installed on the system. Navigate in a shell to the
-# directory where this Makefile is located and enter:
-#
-# make builds the release versions for the
-# current architechture
-# make clean delete intermediate release object files
-# and library and executable
-# make DEBUG=1 builds the debug version for the current
-# architechture
-# make clean DEBUG=1 deletes intermediate debug object files
-# and the library and executable
-#
-# Output : Relative to the directory this Makefile lives in, libraries
-# and executables are built at the following locations
-# depending upon the architechture of the system you are
-# running:
-#
-# ./LibOVR/Lib/Linux/Debug/i386/libovr.a
-# ./LibOVR/Lib/Linux/Debug/x86_64/libovr.a
-# ./LibOVR/Lib/Linux/Release/i386/libovr.a
-# ./LibOVR/Lib/Linux/Release/x86_64/libovr.a
-# ./Samples/OculusWorldDemo/Release/OculusWorldDemo_i386_Release
-# ./Samples/OculusWorldDemo/Release/OculusWorldDemo_x86_64_Release
-# ./Samples/OculusWorldDemo/Release/OculusWorldDemo_i386_Debug
-# ./Samples/OculusWorldDemo/Release/OculusWorldDemo_x86_64_Debug
-#
-#############################################################################
-
-####### Detect system architecture
-
-SYSARCH = i386
-ifeq ($(shell uname -m),x86_64)
-SYSARCH = x86_64
-endif
-
-####### Compiler, tools and options
-
-CXX = g++
-LINK = ar rvs
-DELETEFILE = rm -f
-
-####### Detect debug or release
-
-DEBUG = 0
-ifeq ($(DEBUG), 1)
- RELEASETYPE = Debug
-else
- RELEASETYPE = Release
-endif
-
-####### Paths
-
-LIBOVRPATH = ./LibOVR
-DEMOPATH = ./Samples/OculusWorldDemo
-
-####### Files
-
-LIBOVRTARGET = $(LIBOVRPATH)/Lib/Linux/$(RELEASETYPE)/$(SYSARCH)/libovr.a
-DEMOTARGET = $(DEMOPATH)/Release/OculusWorldDemo_$(RELEASETYPE)/$(SYSARCH)
-
-####### Rules
-
-all: $(LIBOVRTARGET) $(DEMOTARGET)
-
-$(DEMOTARGET): $(DEMOPATH)/Makefile
- $(MAKE) -C $(DEMOPATH) DEBUG=$(DEBUG)
-
-$(LIBOVRTARGET): $(LIBOVRPATH)/Makefile
- $(MAKE) -C $(LIBOVRPATH) DEBUG=$(DEBUG)
-
-clean:
- $(MAKE) -C $(LIBOVRPATH) clean DEBUG=$(DEBUG)
- $(MAKE) -C $(DEMOPATH) clean DEBUG=$(DEBUG)
-