diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-01 13:11:36 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-01 13:18:40 (EDT) |
commit | 7ee941825739135fd5c6571e2706784f1ba70168 (patch) | |
tree | 78d29be922dd3fe3cf490efb3b3b068463fec91b | |
parent | 2d81fb1b88c9e171a339ba13cce5aa351d21d888 (diff) | |
download | marquee-7ee941825739135fd5c6571e2706784f1ba70168.zip marquee-7ee941825739135fd5c6571e2706784f1ba70168.tar.gz marquee-7ee941825739135fd5c6571e2706784f1ba70168.tar.bz2 |
Makefile.am: Add version.c to marquee_SOURCES
And don't manually link marquee.
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 6ce855c..0533a5e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,7 @@ PACKAGE_STRING = $(PACKAGE_NAME) $(PACKAGE_VERSION_GIT) bin_PROGRAMS = marquee -marquee_SOURCES = +marquee_SOURCES = version.c marquee_CPPFLAGS = \ -DABS_TOP_BUILDDIR=\"$(abs_top_builddir)\" \ -DPKGDATADIR=\"$(pkgdatadir)\" \ @@ -51,13 +51,10 @@ 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 - $(AM_V_CCLD)$(LINK) version.c $(marquee_OBJECTS) $(marquee_LDADD) \ - $(LIBS) include $(top_srcdir)/src/local.mk |