build with loadTexture(), not rendering textures yet
This commit is contained in:
1 parent
834f0c59c9
commit
913e8f6287
3 files changed
+17
-3
No files matched your search
+3
-2
@@ -3,12 +3,13 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
env = Environment(LIBS = ['GL', 'GLU'],
|
||||
env = Environment(LIBS = ['GL', 'GLU', 'SDL_image'],
|
||||
CFLAGS = ['-Wall'],
|
||||
CXXFLAGS = ['-Wall'])
|
||||
env.ParseConfig('sdl-config --cflags --libs')
|
||||
|
||||
env.Program('wfobj-view', [Glob('*.cc'), Glob('wfobj/WFObj.cc')])
|
||||
sources = [Glob('*.cc'), Glob('wfobj/WFObj.cc'), Glob('loadTexture/*.c')]
|
||||
env.Program('wfobj-view', sources)
|
||||
|
||||
if len(os.listdir('wfobj')) == 0:
|
||||
sys.stderr.write('Warning: wfobj submodule not initialized\n')
|
||||
|
||||
Reference in new issue
Block a user