mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
13 lines
357 B
Plaintext
13 lines
357 B
Plaintext
# handle Coco/R attributed grammars written for the C++ version
|
|
# http://www.ssw.uni-linz.ac.at/Coco/
|
|
# http://github.com/olesenm/coco-cpp/
|
|
#
|
|
|
|
SUFFIXES += .atg
|
|
|
|
atgtoo = \
|
|
$(WM_THIRD_PARTY_DIR)/platforms/$(WM_ARCH)$(WM_COMPILER)/coco-cpp/bin/coco-cpp \
|
|
-single \
|
|
$< -o $(OBJECTS_DIR) && \
|
|
$(CC) $(c++FLAGS) -c $(@D)/$(<F).cpp -o $@
|