THRIFT-2849: codespell added to 'make style'

Client: Build
Patch: Konrad Grochowski

Please remember to verifying changes before commiting
diff --git a/Makefile.am b/Makefile.am
index 26ddab6..aeff37c 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,6 +41,32 @@
 cross: check
 	sh test/test.sh
 
+codespell_skip_files = \
+	*.a \
+	*.la \
+	*.o \
+	*.p12 \
+	*OCamlMakefile \
+	.keystore \
+	.truststore \
+	CHANGES \
+	config.sub \
+	configure \
+	depcomp \
+	libtool.m4 \
+	output.* \
+	rebar \
+	thrift
+
+empty :=
+space := $(empty) $(empty)
+comma := ,
+
+skipped_files = $(subst $(space),$(comma),$(codespell_skip_files))
+
+style-local:
+	codespell --write-changes --skip=$(skipped_files) --disable-colors
+
 EXTRA_DIST = \
 	.travis.yml \
 	bower.json \