SHARE
TWEET

Untitled

a guest Jul 13th, 2013 287 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -ruN Quakespasm-Rift/Quake/Makefile Quakespasm-Rift-Linux/Quake/Makefile
  2. --- Quakespasm-Rift/Quake/Makefile  2013-07-13 19:31:09.497799443 -0600
  3. +++ Quakespasm-Rift-Linux/Quake/Makefile    2013-07-13 19:29:42.915302301 -0600
  4. @@ -36,7 +36,7 @@
  5.  # ---------------------------
  6.  
  7.  CC ?= gcc
  8. -LINKER = $(CC)
  9. +LINKER = g++
  10.  
  11.  STRIP ?= strip
  12.  
  13. @@ -85,6 +85,8 @@
  14.  CFLAGS += -I$(X11BASE)/include
  15.  endif
  16.  
  17. +LDFLAGS+= -L/usr/local/lib
  18. +CXXFLAGS += -I/path/to/OculusSDK/LibOVR/Include/
  19.  SDL_CONFIG ?= sdl-config
  20.  SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
  21.  SDL_LIBS   := $(shell $(SDL_CONFIG) --libs)
  22. @@ -144,7 +146,7 @@
  23.  CODECLIBS+= $(lib_mp3dec)
  24.  endif
  25.  
  26. -COMMON_LIBS:= -lm -lGL
  27. +COMMON_LIBS:= -lm -lGL -lX11 -lXinerama -ludev -lovr
  28.  
  29.  LIBS := $(COMMON_LIBS) $(NET_LIBS) $(CODECLIBS)
  30.  
  31. @@ -238,9 +240,11 @@
  32.     host.o \
  33.     host_cmd.o \
  34.     mathlib.o \
  35. +   oculus_sdk.o \
  36.     pr_cmds.o \
  37.     pr_edict.o \
  38.     pr_exec.o \
  39. +   r_renderhmd.o \
  40.     sv_main.o \
  41.     sv_move.o \
  42.     sv_phys.o \
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top