<p>In <a href="https://github.com/geany/geany-plugins/pull/277#discussion_r46151166">geanyprj/src/Makefile.rel.am</a>:</p>
<pre style='color:#555'>> +    %D%/geanyprj.h \
> +  %D%/menu.c \
> +  %D%/project.c \
> +  %D%/sidebar.c \
> +  %D%/utils.c \
> +  %D%/xproject.c
> +
> +%C%_geanyprj_la_CFLAGS = $(AM_CFLAGS)
> +%C%_geanyprj_la_LIBADD = $(COMMONLIBS)
> +
> +if UNITTESTS
> +TESTS += %D%/unittests
> +check_PROGRAMS += %D%/unittests
> +%C%_unittests_SOURCES = %D%/unittests.c %D%/utils.c
> +%C%_unittests_CFLAGS  = $(GEANY_CFLAGS) -DUNITTESTS
> +%C%_unittests_LDADD   = @GEANY_LIBS@ $(INTLLIBS) @CHECK_LIBS@
</pre>
<p>don't this also require a <code>SHORTNAME</code> not to get rebuilt for no reason on subdirs?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany-plugins/pull/277/files#r46151166">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-VSeT_dvZZMVfOtZoBvKvIQVy42ks5pLFmUgaJpZM4Fg-b2.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/pull/277/files#r46151166"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>