Add the OpenFOAM source tree
This commit is contained in:
13
wmake/rules/General/version
Normal file
13
wmake/rules/General/version
Normal file
@ -0,0 +1,13 @@
|
||||
.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)
|
||||
Reference in New Issue
Block a user