Add code generator to assembler, re compile colors.dat with assembler
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a27b55..3c57c91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,6 +7,15 @@
 
 include_directories(nuklear)
 
+include(TestBigEndian)
+test_big_endian(BIG_ENDIAN)
+
+if (${BIG_ENDIAN})
+	add_compile_definitions(BIG_ENDIAN)
+else()
+	add_compile_definitions(LITTLE_ENDIAN)
+endif()
+
 subdirs(as)
 
 if (${GEN_INSTRUCTIONS_HEADER})