This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
LaiNES/SConstruct
2014-06-01 17:06:30 +02:00

14 lines
467 B
Python

from os import environ
flags = ['-O3', '-march=native', '-std=c++11']
env = Environment(ENV = { 'TERM' : environ['TERM'] },
CXX = 'clang++',
CPPPATH = 'src',
CPPFLAGS = ['-Wno-unused-value'],
CXXFLAGS = flags,
LINKFLAGS = flags,
LIBS = ['SDL2', 'SDL2_image', 'SDL2_ttf'])
env.Program('laines', Glob('src/*.cpp') + Glob('src/*/*.cpp'))