used .PHONY to enforce generation of version.cc

This commit is contained in:
Jiri Pittner 2023-05-15 17:27:24 +02:00
parent ce2400e703
commit ca18446804

View File

@ -38,7 +38,10 @@ AM_LDFLAGS += $(CUDALIBS)
tX_LDFLAGS = $(AM_LDFLAGS) -lX11 -lm tX_LDFLAGS = $(AM_LDFLAGS) -lX11 -lm
version.cc: get_git_version
.PHONY: always
version.cc: always
./get_git_version >version.cc ./get_git_version >version.cc
include $(top_srcdir)/aminclude.am # commented out since autoreconf complains about duplicit .PHONY
#include $(top_srcdir)/aminclude.am