reduced-foam-extend-coheren.../wmake/rules/General/version

14 lines
323 B
Text
Raw Normal View History

2023-09-21 15:05:56 +00:00
.SUFFIXES: .Cver
#
# 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)