mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- generate .cc (instead of .C) intermediate files, consistent with how we manage other generated code and makes them less case sensitive
20 lines
807 B
Plaintext
20 lines
807 B
Plaintext
#------------------------------------------------------------------------------
|
|
SUFFIXES += .ly .lyy .lyy-m4
|
|
|
|
# Lemon via wrapper, compile with C
|
|
lytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
|
|
$(WM_SCRIPTS)/wrap-lemon -d$(@D) $< && \
|
|
$(WM_SCHEDULER) $(cc) $(cFLAGS) -c $(@D)/$(*F).c -o $@
|
|
|
|
# Lemon via wrapper, compile with C++
|
|
lyytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
|
|
$(WM_SCRIPTS)/wrap-lemon -d$(@D) -ecc $< && \
|
|
$(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $(@D)/$(*F).cc -o $@
|
|
|
|
# Retains intermediate m4-filtered files (-no-tmp to suppress)
|
|
lyy-m4too = $E $(call QUIET_MESSAGE,lemon-m4,$(<F)) \
|
|
$(WM_SCRIPTS)/wrap-lemon -d$(@D) -ecc $< && \
|
|
$(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $(@D)/$(*F).cc -o $@
|
|
|
|
#------------------------------------------------------------------------------
|