src/gui/Makefile.am: avoid some rebuilds

Origin commit data
------------------
Commit: 3efef60593
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-09 (Sun, 09 Jan 2022)

Origin message was:
------------------
- src/gui/Makefile.am: avoid some rebuilds
This commit is contained in:
vanhofen
2022-01-09 22:34:05 +01:00
parent 51ae81ee7c
commit fdef8fcabd

View File

@@ -1,6 +1,8 @@
AM_CPPFLAGS = -fno-rtti -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS AM_CPPFLAGS = -fno-rtti -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
BUILT_SOURCES = version.h BUILT_SOURCES = version.h
version.h: VERSION = $(shell find version.h -mmin +60 2>/dev/null)
$(VERSION):
@rm -f $@ @rm -f $@
@echo "#define BUILT_DATE \"$$(date)\"" > $@ @echo "#define BUILT_DATE \"$$(date)\"" > $@
@echo "#define BUILT_TIMESTAMP \"$$(date +%s)\"" >> $@ @echo "#define BUILT_TIMESTAMP \"$$(date +%s)\"" >> $@