mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
14 lines
323 B
Plaintext
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)
|