summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-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