Transferred copyright to the OpenFOAM Foundation
[OpenFOAM-2.0.x.git] / wmake / rules / General / coco-cpp
blob94264971dcde85be7fa796821b75c4c49b355acb
1 # handle Coco/R attributed grammars written for the C++ version
2 #     http://www.ssw.uni-linz.ac.at/Coco/
3 #     http://github.com/olesenm/coco-cpp/
6 .SUFFIXES: .atg
8 atgtoo =  \
9     $(WM_THIRD_PARTY_DIR)/platforms/$(WM_ARCH)$(WM_COMPILER)/coco-cpp/bin/coco-cpp \
10     -single \
11     $$SOURCE -o $(OBJECTS_DIR) && \
12     $(CC) $(c++FLAGS) -c $*.cpp -o $@
14 .atg.dep:
15         $(MAKE_DEP)