18 lines
297 B
Makefile
18 lines
297 B
Makefile
.PHONY: configure build debug-c debug-vm test
|
|
|
|
configure:
|
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
build: configure
|
|
cmake --build build
|
|
|
|
debug-c: build
|
|
gdb --args ./build/fzc ${FILE}
|
|
|
|
debug-vm: build
|
|
gdb --args ./build/fz ${FILE}
|
|
|
|
test: build
|
|
ctest --output-on-failure --test-dir build
|
|
|