aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: e2f6573a703f5a33014e893fd6b0187ab5b13ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects

if IS_GIT_REPO
GITVERSION_FLAGS = -DGITVERSION="\"`git describe --dirty`\""
else
GITVERSION_FLAGS =
endif

odr_padenc_CXXFLAGS = $(GITVERSION_FLAGS) @MAGICKWAND_CFLAGS@ -Icontrib -Wall -Wextra
odr_padenc_LDADD    = @MAGICKWAND_LDADD@
odr_padenc_SOURCES  = src/mot-encoder.cpp \
					  contrib/lib_crc.h \
					  contrib/lib_crc.c

bin_PROGRAMS = odr-padenc$(EXEEXT)


EXTRA_DIST = \
    $(top_srcdir)/bootstrap \
    $(top_srcdir)/README.md \
    $(top_srcdir)/Doxyfile

doc: export PROJECT_NUMBER:=$(shell git describe --dirty)

.PHONY: doc
doc:
	doxygen