sic/Makefile.am

37 lines
1.1 KiB
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
BUILT_SOURCES=src/Foohash.H
siccc_SOURCES = src/Foohash.H src/options.c src/routerin.cc src/sicmain.cc mongoose/mongoose.c
siccc_CFLAGS =
siccc_CXXFLAGS = ${AM_CXXFLAGS} -DDEBUG -ggdb -I./mongoose/ -Darschlecken
siccc_LDFLAGS = -ldl -pthread
EXTRA_DIST= static/* src/eventlist.txt
src/Foohash.H: src/eventlist.txt
gperf -LC++ -ZFoohash -E < $< > $@
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