mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +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>
This commit is contained in:
parent
fdf434e8eb
commit
27b12821ee
@ -29,8 +29,8 @@ depends.mk: *.cc
|
||||
mv -fv $@.new $@
|
||||
|
||||
.version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h
|
||||
echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > .version.new.cc
|
||||
mv -f .version.new.cc .version.cc
|
||||
echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > $@.new
|
||||
mv -f $@.new $@
|
||||
|
||||
include depends.mk
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user