From ca184468047be352b368ca6e0547c829d03373af Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Mon, 15 May 2023 17:27:24 +0200 Subject: [PATCH] used .PHONY to enforce generation of version.cc --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index c36fa95..f0baef3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,7 +38,10 @@ AM_LDFLAGS += $(CUDALIBS) tX_LDFLAGS = $(AM_LDFLAGS) -lX11 -lm -version.cc: get_git_version + +.PHONY: always +version.cc: always ./get_git_version >version.cc -include $(top_srcdir)/aminclude.am +# commented out since autoreconf complains about duplicit .PHONY +#include $(top_srcdir)/aminclude.am