diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-01 13:34:27 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-01 13:34:27 (EDT) |
commit | 3015e3b516d60adfa46297a37b10bae813e3b3d8 (patch) | |
tree | 6fc0b8dac52fd6b1079ed0d2419e42bdffe62206 | |
parent | 239138b44e39cd401f2754ac7d19963d32237342 (diff) | |
download | marquee-3015e3b516d60adfa46297a37b10bae813e3b3d8.zip marquee-3015e3b516d60adfa46297a37b10bae813e3b3d8.tar.gz marquee-3015e3b516d60adfa46297a37b10bae813e3b3d8.tar.bz2 |
Makefile.am: Split version.c generation into new target
-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) |