19 lines
399 B
Makefile
19 lines
399 B
Makefile
|
.PHONY: build tests install
|
||
|
|
||
|
build:
|
||
|
cmake -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug
|
||
|
cmake --build build
|
||
|
|
||
|
tests: build
|
||
|
build/lang/gux-lang-tests
|
||
|
|
||
|
install: check tests
|
||
|
sudo cmake --install build
|
||
|
|
||
|
check:
|
||
|
@cppcheck --enable=all lib lang vm -q \
|
||
|
--suppress=missingIncludeSystem \
|
||
|
--suppress=unusedFunction \
|
||
|
--suppress=missingInclude \
|
||
|
--suppress=unmatchedSuppression
|