roguish/Makefile

21 lines
389 B
Makefile

all: build test
reset:
powershell -executionpolicy bypass .\scripts\reset_build.ps1
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