makefile changes

This commit is contained in:
Chris Cromer 2016-10-17 20:18:31 -03:00
parent f57e74850b
commit eb72e7f2f8
3 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@ generarxml_SOURCES = src/main.c \
src/string.h src/string.h
generarxml_CPPFLAGS = $(XML_CPPFLAGS) generarxml_CPPFLAGS = $(XML_CPPFLAGS)
generarxml_LDFLAGS= $(XML_LIBS) generarxml_LDFLAGS= $(XML_LIBS)
generarxml_LDADD = ${libxml2_LIBS}
EXTRA_DIST = misc/Biblia.txt \ EXTRA_DIST = misc/Biblia.txt \
misc/config.dtd \ misc/config.dtd \
misc/chris.conf \ misc/chris.conf \

1
README
View File

@ -1,5 +1,6 @@
Este programa necesita: Este programa necesita:
libxml2 libxml2
libxslt
glibc compilado con iconv glibc compilado con iconv
gcc compilado con C11 gcc compilado con C11

View File

@ -9,8 +9,8 @@
int readfile(CONFIG *config) { int readfile(CONFIG *config) {
FILE *file = NULL; FILE *file = NULL;
int start; int start = 0;
int end; int end = 0;
int i = 0; int i = 0;
char *line = NULL; char *line = NULL;
char **array = NULL; char **array = NULL;