Mercurial > masqmail
view src/base64/Makefile.am @ 249:f9da5a7caeda
refactored the cmdline argument processing
I replaced the nested switch statements with one single
large else-if construct. Instead of char comparision now
str(n)cmp(3) is used. Although this is slower it is much
more readable and covers corner-cases which were uncovered
before (e.g. -bdxxx).
As always: Readability and simplicity matter, not performance.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 04 Nov 2010 11:02:42 -0300 (2010-11-04) |
parents | 08114f7dcc23 |
children |
line wrap: on
line source
AM_CFLAGS=@CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE noinst_LIBRARIES=libbase64.a noinst_PROGRAMS=base64enc base64dec base64enc_SOURCES=\ base64.h\ base64enc.c\ base64.c base64dec_SOURCES=\ base64.h\ base64dec.c\ base64.c libbase64_a_SOURCES=\ base64.h\ base64.c base64enc_LDADD=@GLIB_LIBS@ base64dec_LDADD=@GLIB_LIBS@