openfoam/wmake/rules/General/version
Mark Olesen 0061e9ed03 added Foam::FOAMbuild to Foam::FOAMversion
- avoids problems with finding files based on FOAMversion
  (reported by Mattijs)
2009-01-09 09:11:50 +01:00

14 lines
323 B
Plaintext

.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)