mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: add support for m4 filtering of lemon grammars
This commit is contained in:
committed by
Andrew Heather
parent
28a9cde028
commit
1ddcdb083e
@ -1,4 +1,4 @@
|
||||
SUFFIXES += .ly .lyy
|
||||
SUFFIXES += .ly .lyy .lyy-m4
|
||||
|
||||
lytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
|
||||
$(WM_SCHEDULER) $(WM_SCRIPTS)/wrap-lemon -d$(@D) $< $(AND) \
|
||||
@ -7,3 +7,11 @@ lytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
|
||||
lyytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
|
||||
$(WM_SCHEDULER) $(WM_SCRIPTS)/wrap-lemon -d$(@D) -ecc $< $(AND) \
|
||||
$(CC) $(c++FLAGS) -c $(@D)/$(*F).cc -o $@
|
||||
|
||||
# Retain intermediate files (-with-debug) to help when something goes wrong,
|
||||
# and to verify that the generated grammar looks correct.
|
||||
lyy-m4too = $E $(call QUIET_MESSAGE,lemon-m4,$(<F)) \
|
||||
$(WM_SCHEDULER) $(WM_SCRIPTS)/wrap-lemon -with-debug -d$(@D) -ecc $< $(AND) \
|
||||
$(CC) $(c++FLAGS) -c $(@D)/$(*F).cc -o $@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user