1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

Makefile: Generalize the .version.cc target

This enables us to move the file around later.

Signed-off-by: Kai Krakow <kai@kaishome.de>
Dieser Commit ist enthalten in:
Kai Krakow
2018-01-16 00:13:37 +01:00
Ursprung fdf434e8eb
Commit 27b12821ee
+2 -2
Datei anzeigen
@@ -29,8 +29,8 @@ depends.mk: *.cc
mv -fv $@.new $@ mv -fv $@.new $@
.version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h .version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h
echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > .version.new.cc echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > $@.new
mv -f .version.new.cc .version.cc mv -f $@.new $@
include depends.mk include depends.mk