aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-02-15 12:48:35 +0100
committerAdrian Kummerländer2014-02-15 12:48:35 +0100
commit79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c (patch)
tree09a09025f16b79d5d46201c77bb5cab2d2bdd4f6 /Makefile
parent609be30bf9562a86182ed0958a238b6ba9392ebf (diff)
downloadCodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.tar
CodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.tar.gz
CodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.tar.bz2
CodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.tar.lz
CodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.tar.xz
CodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.tar.zst
CodepointIterator-79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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))