diff options
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 6ce855c..a650ed5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,11 +51,14 @@ marquee_LDADD = \ $(WEBKIT2GTK_LIBS) CLEANFILES = version.c -marquee$(EXEEXT): $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \ +version.c: $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \ $(EXTRA_marquee_DEPENDENCIES) - @rm -f marquee$(EXEEXT) - @printf 'const char *PACKAGE_VERSION_GIT = "%s";\n' \ + $(AM_V_GEN)printf 'const char *PACKAGE_VERSION_GIT = "%s";\n' \ "$(PACKAGE_VERSION_GIT)" >version.c + +marquee$(EXEEXT): $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \ + $(EXTRA_marquee_DEPENDENCIES) version.c + @rm -f marquee$(EXEEXT) $(AM_V_CCLD)$(LINK) version.c $(marquee_OBJECTS) $(marquee_LDADD) \ $(LIBS) |