This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/wmake/rules/General/version

14 lines
323 B
Text
Raw Normal View History

.SUFFIXES: .Cver
2010-08-24 15:19:39 +00:00
#
# update version strings in C++ file and in $WM_PROJECT_DIR/.build file
#
Cvertoo = \
sed -e 's/VERSION_STRING/$(shell wmakePrintBuild -major)/' \
-e 's/BUILD_STRING/$(shell wmakePrintBuild -update)/' \
$$SOURCE > $*.C; \
$(CC) $(c++FLAGS) -c $*.C -o $@
.Cver.dep:
$(MAKE_DEP)