sic/Makefile.am

31 lines
882 B
Makefile

## Additional flags to pass to aclocal when it is invoked automatically at
## make time. The ${ACLOCAL_FLAGS} variable is picked up from the environment
## to provide a way for the user to supply additional arguments.
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
AM_CXXFLAGS = -std=c++11
bin_PROGRAMS=siccc
siccc_SOURCES = src/options.c src/sicmain.cc mongoose/mongoose.c
siccc_CFLAGS =
sicc_CXXFLAGS = -ggdb -I ../mongoose/mongoose.c
siccc_LDFLAGS = -ldl -pthread
options.c: options.ggo
options.h: options.ggo
.ggo.c:
gengetopt -F ${@:%.c=%} < $<
## Define an independent executable script for inclusion in the distribution
## archive. It will not be installed on an end user's system, however.
#dist_noinst_SCRIPTS = autogen.sh
dist-hook: ChangeLog
README: README.md
ln -s
ChangeLog: configure.ac README.md
git log --stat --name-only --date=short --abbrev-commit > ChangeLog