summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-01 13:38:15 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-01 13:38:15 (EDT)
commitff619346a12d54fedf6357b0d0bd2b3016b0c9fc (patch)
treea93ac984155cc8084a6b5728895701d547fe1965
parent3015e3b516d60adfa46297a37b10bae813e3b3d8 (diff)
downloadmarquee-ff619346a12d54fedf6357b0d0bd2b3016b0c9fc.zip
marquee-ff619346a12d54fedf6357b0d0bd2b3016b0c9fc.tar.gz
marquee-ff619346a12d54fedf6357b0d0bd2b3016b0c9fc.tar.bz2
Makefile.am: Use version.c in marquee_LINK
Also use it in EXTRA_marquee_DEPENDENCIES. This finally avoids having to define the whole link target.
-rw-r--r--Makefile.am8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index a650ed5..8efc035 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -49,6 +49,8 @@ marquee_CPPFLAGS = \
marquee_LDADD = \
$(GTK_LIBS) \
$(WEBKIT2GTK_LIBS)
+marquee_LINK = $(LINK) version.c
+EXTRA_marquee_DEPENDENCIES = version.c
CLEANFILES = version.c
version.c: $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \
@@ -56,12 +58,6 @@ version.c: $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \
$(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)
-
include $(top_srcdir)/src/local.mk
SUBDIRS = . data