mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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 $@
|