Files
openfoam/wmake/rules/General/lemon
Mark Olesen 894645f9e1 CONFIG: update wmake rules for parsers
- include ragel and lemon

- rename pre-generated files to ".cc" so that they are more
  recognizable as being different from regular file content.
2019-08-16 10:06:08 +02:00

10 lines
327 B
Plaintext

SUFFIXES += .ly .lyy
lytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
$(WM_SCHEDULER) $(WM_SCRIPTS)/wrap-lemon -q $< $(AND) \
$(cc) $(cFLAGS) -c $(@D)/$(<F).c -o $@
lyytoo = $E $(call QUIET_MESSAGE,lemon,$(<F)) \
$(WM_SCHEDULER) $(WM_SCRIPTS)/wrap-lemon -q $< $(AND) \
$(CC) $(c++FLAGS) -c $(@D)/$(<F).cc -o $@