Fix out-of-tree build
[openocd.git] / common.mk
1
2 # common flags used in openocd build
3 AM_CPPFLAGS = -I$(top_srcdir)/src \
4 -I$(top_builddir)/src \
5 -I$(top_srcdir)/src/helper \
6 -DPKGDATADIR=\"$(pkgdatadir)\" \
7 -DPKGLIBDIR=\"$(pkglibdir)\"
8
9 if INTERNAL_JIMTCL
10 AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
11 -I$(top_builddir)/jimtcl
12 endif