roguish/Makefile

26 lines
448 B
Makefile

all: build test
reset:
powershell -executionpolicy bypass .\scripts\reset_build.ps1
rageldev:
make ragel
make test > test.txt
vim test.txt
ragel:
ragel -o .\scratchpad\testragel.cpp .\scratchpad\testragel.rl
ragel -o .\ansi_parser.cpp .\ansi_parser.rl
build:
meson compile -j 4 -C builddir
test: build
./builddir/runtests
run: build test
powershell "cp ./builddir/roguish.exe ."
./roguish
clean:
meson compile --clean -C builddir