oculus1

diff Makefile @ 16:f3672317e5c2

made teapots many sizes and more colorful, added phong shader
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 21 Sep 2013 05:22:48 +0300
parents 681046a82ed2
children
line diff
     1.1 --- a/Makefile	Sat Sep 21 04:15:20 2013 +0300
     1.2 +++ b/Makefile	Sat Sep 21 05:22:48 2013 +0300
     1.3 @@ -1,12 +1,13 @@
     1.4 -src = $(wildcard src/*.cc)
     1.5 +ccsrc = $(wildcard src/*.cc)
     1.6 +csrc = $(wildcard src/*.c)
     1.7  ovr_src = $(wildcard libovr/Src/*.cpp) \
     1.8  		  $(wildcard libovr/Src/Kernel/*.cpp) \
     1.9  		  $(wildcard libovr/Src/Util/*.cpp)
    1.10  
    1.11 -obj = $(src:.cc=.o) $(ovr_src:.cpp=.o) $(ovr_sys_src:.cpp=.o)
    1.12 +obj = $(csrc:.c=.o) $(ccsrc:.cc=.o) $(ovr_src:.cpp=.o) $(ovr_sys_src:.cpp=.o)
    1.13  bin = oculus1
    1.14  
    1.15 -
    1.16 +CFLAGS = -pedantic -Wall -g
    1.17  CXXFLAGS = -Wall -g -I/usr/local/include $(ovr_include) -DUSE_OVR
    1.18  LDFLAGS = -L/usr/local/lib $(libgl) $(ovrlibs) -lvmath -lm
    1.19