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
parents
children
line source
1 AM_CFLAGS=@CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE
3 noinst_LIBRARIES=libbase64.a
4 noinst_PROGRAMS=base64enc base64dec
6 base64enc_SOURCES=\
7 base64.h\
8 base64enc.c\
9 base64.c
11 base64dec_SOURCES=\
12 base64.h\
13 base64dec.c\
14 base64.c
16 libbase64_a_SOURCES=\
17 base64.h\
18 base64.c
20 base64enc_LDADD=@GLIB_LIBS@
21 base64dec_LDADD=@GLIB_LIBS@