import sys
import os

env = Environment(ENV = {
    'PATH' : os.environ['PATH']
})

env.ParseConfig('pkg-config --cflags glfw3')
env.ParseConfig('pkg-config --libs --static glfw3')
#env['ENV']['TERM'] = os.environ['TERM'] #Adds color to clang output. No idea why it works
env.Append(LIBS = ['glfw3'])
env.Append(CXXFLAGS = ['-std=c++11', '-stdlib=libc++', '-ggdb'])

sources = [
	Glob('./src/*.cpp'),		# Add all cpp files.
]

main = env.Program(target='./build/gbemuc11', source=sources)
test = env.Command(target="blah", source="./build/gbemuc11", action="./build/gbemuc11 ./build/rom.gb")
3ec8f389e6d53b9207c8ba1ae98b3d41d6c5b488
<mask token>

<mask token>
env.ParseConfig('pkg-config --cflags glfw3')
env.ParseConfig('pkg-config --libs --static glfw3')
env.Append(LIBS=['glfw3'])
env.Append(CXXFLAGS=['-std=c++11', '-stdlib=libc++', '-ggdb'])
<mask token>

<mask token>
env = Environment(ENV={'PATH': os.environ['PATH']})
env.ParseConfig('pkg-config --cflags glfw3')
env.ParseConfig('pkg-config --libs --static glfw3')
env.Append(LIBS=['glfw3'])
env.Append(CXXFLAGS=['-std=c++11', '-stdlib=libc++', '-ggdb'])
sources = [Glob('./src/*.cpp')]
main = env.Program(target='./build/gbemuc11', source=sources)
test = env.Command(target='blah', source='./build/gbemuc11', action=
    './build/gbemuc11 ./build/rom.gb')

import sys
import os
env = Environment(ENV={'PATH': os.environ['PATH']})
env.ParseConfig('pkg-config --cflags glfw3')
env.ParseConfig('pkg-config --libs --static glfw3')
env.Append(LIBS=['glfw3'])
env.Append(CXXFLAGS=['-std=c++11', '-stdlib=libc++', '-ggdb'])
sources = [Glob('./src/*.cpp')]
main = env.Program(target='./build/gbemuc11', source=sources)
test = env.Command(target='blah', source='./build/gbemuc11', action=
    './build/gbemuc11 ./build/rom.gb')

import sys
import os

env = Environment(ENV = {
    'PATH' : os.environ['PATH']
})

env.ParseConfig('pkg-config --cflags glfw3')
env.ParseConfig('pkg-config --libs --static glfw3')
#env['ENV']['TERM'] = os.environ['TERM'] #Adds color to clang output. No idea why it works
env.Append(LIBS = ['glfw3'])
env.Append(CXXFLAGS = ['-std=c++11', '-stdlib=libc++', '-ggdb'])

sources = [
	Glob('./src/*.cpp'),		# Add all cpp files.
]

main = env.Program(target='./build/gbemuc11', source=sources)
test = env.Command(target="blah", source="./build/gbemuc11", action="./build/gbemuc11 ./build/rom.gb")