Trying out Ragel's state machine generation as an alternative to the DinkyFSM style.
This commit is contained in:
parent
9468990f76
commit
7fc32b0248
10 changed files with 428 additions and 19 deletions
8
Makefile
8
Makefile
|
@ -1,3 +1,5 @@
|
|||
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
all: build test
|
||||
|
||||
reset:
|
||||
|
@ -8,10 +10,10 @@ else
|
|||
endif
|
||||
|
||||
%.cpp : %.rl
|
||||
ragel -o $@ $<
|
||||
ragel -G1 -o $@ $<
|
||||
|
||||
build:
|
||||
meson compile -j 10 -C builddir
|
||||
build: $(ROOT_DIR)/gui/dnd_loot_2.cpp
|
||||
meson compile -j 10 -C $(ROOT_DIR)/builddir
|
||||
|
||||
release_build:
|
||||
meson --wipe builddir -Db_ndebug=true --buildtype release
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue