autotools optimization

This commit is contained in:
Chris Cromer 2016-10-16 18:30:22 -03:00
parent c963550ef3
commit 0424cff958
3 changed files with 27 additions and 2 deletions

2
.gitignore vendored
View File

@ -39,3 +39,5 @@ config.log
config.status
Makefile
generarxml
autom4te.cache
*.tar.gz

View File

@ -1,9 +1,20 @@
AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = generarxml
generarxml_SOURCES = src/main.c \
src/main.h \
src/readconfig.c \
src/readconfig.h \
src/readfile.c \
src/readfile.h \
src/encoding.c \
src/string.c
src/encoding.h \
src/string.c \
src/string.h
generarxml_CPPFLAGS = $(XML_CPPFLAGS)
generarxml_LDFLAGS= $(XML_LIBS)
EXTRA_DIST = misc/Biblia.txt \
misc/config.dtd \
misc/chris.conf \
src/misc/Biblia.txt \
src/misc/config.dtd \
src/misc/chris.conf

View File

@ -285,13 +285,25 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
generarxml_SOURCES = src/main.c \
src/main.h \
src/readconfig.c \
src/readconfig.h \
src/readfile.c \
src/readfile.h \
src/encoding.c \
src/string.c
src/encoding.h \
src/string.c \
src/string.h
generarxml_CPPFLAGS = $(XML_CPPFLAGS)
generarxml_LDFLAGS = $(XML_LIBS)
EXTRA_DIST = misc/Biblia.txt \
misc/config.dtd \
misc/chris.conf \
src/misc/Biblia.txt \
src/misc/config.dtd \
src/misc/chris.conf
all: all-am
.SUFFIXES: