From 79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sat, 15 Feb 2014 12:48:35 +0100 Subject: Extracted helper functions and bitmasks into separate compilation unit * utility.h and utility.cc now contain the UTF8-codepoint and unit bitmasks and read / write functions * Modified users of these functions and unions accordingly * Added the new compilation unit to the Makefile * Changed bitmask specification from plain integer literals to shift expressions for better readability --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1c9b781..6d82904 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ CXX = g++ CXXFLAGS = -std=c++11 -W -Wall -Wextra -pedantic -SRC = src/codepoint_iterator.cc \ +SRC = src/utility.cc \ + src/codepoint_iterator.cc \ test.cc OBJ = $(subst .cc,.o,$(SRC)) -- cgit v1.2.3