aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/astyle.rc16
2 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 05770f1..06f4408 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,6 +16,8 @@ AM_LDFLAGS+= @EXTRA_LTFLAGS@
AM_CFLAGS +=
AM_LDFLAGS+=
+EXTRA_DIST = \
+ astyle.rc
if LIBRARY
pkglib_LTLIBRARIES+=zexy.la
diff --git a/src/astyle.rc b/src/astyle.rc
new file mode 100644
index 0000000..0c0c1bc
--- /dev/null
+++ b/src/astyle.rc
@@ -0,0 +1,16 @@
+## asytyle configuration for zexy
+# usage: astyle --options=astyle.conf *.c *.h
+
+## CRLF line-ending
+lineend=linux
+
+## make sure that code fits on an old-school terminal
+max-code-length=75
+# maximum indentation on continuation lines
+max-instatement-indent=40
+
+## "One True Brace Style"
+style=1tbs
+
+## hardly an indentation
+indent=spaces=2