Browse Source

makefile changes

master
Chris Cromer 3 years ago
parent
commit
eb72e7f2f8
3 changed files with 4 additions and 2 deletions
  1. +1
    -0
      Makefile.am
  2. +1
    -0
      README
  3. +2
    -2
      src/readfile.c

+ 1
- 0
Makefile.am View File

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

+ 1
- 0
README View File

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


+ 2
- 2
src/readfile.c View File

@@ -9,8 +9,8 @@

int readfile(CONFIG *config) {
FILE *file = NULL;
int start;
int end;
int start = 0;
int end = 0;
int i = 0;
char *line = NULL;
char **array = NULL;

Loading…
Cancel
Save