HELPER_MK_FILE := ../MakefileHelpers/common.mk
include ${HELPER_MK_FILE}

DEBUG_TARGET := bin/Debug/libEngine.a
RELEASE_TARGET := bin/Release/libEngine.a

DEBUG_OBJ_DIR := obj/Debug/
RELEASE_OBJ_DIR := obj/Release/

DEBUG_DEP_DIR := dep/Debug/
RELEASE_DEP_DIR := dep/Release/


CFLAGS := ${CUDA_CFLAGS} ${IMAGE_MAGICK_CFLAGS} ${BOOST_CFLAGS} ${COMMON_FLAGS} -I../SFMBackend/source

DEBUG_CFLAGS := ${CFLAGS} ${DEBUG_CFLAG_ADDITIONS}
RELEASE_CFLAGS := ${CFLAGS} ${RELEASE_CFLAG_ADDITIONS}


SRCS := \
	source/content/Resource.cpp \
	source/graphics/BaseTexture.cpp \
	source/graphics/GLSLUniformBlockLayout.cpp \
	source/graphics/Mesh.cpp \
	source/graphics/Texture1D.cpp \
	source/graphics/VertexArrayObject.cpp \
	source/graphics/FrameBufferObject.cpp \
	source/graphics/GLSLShader.cpp \
	source/graphics/MeshBufferLayout.cpp \
	source/graphics/RenderDevice.cpp \
	source/graphics/Texture2D.cpp \
	source/graphics/BufferObject.cpp \
	source/graphics/GLSLProgram.cpp \
	source/graphics/MultiRenderTarget.cpp \
	source/graphics/Texture2DArray.cpp \
	source/platform/BaseWindow.cpp \
	source/platform/X11Window.cpp


include ../MakefileHelpers/buildLibrary.mk


