roza/Makefile

23 lines
450 B
Makefile
Raw Normal View History

2023-12-07 19:16:58 +00:00
.PHONY: build tests
build:
meson setup build
meson compile -C build
tests: build
build/roza-tests
2023-12-09 17:24:41 +00:00
install: tests
2023-12-07 19:16:58 +00:00
meson install -C build
check:
@cppcheck --language=c --enable=all lib src -q \
2023-12-09 17:24:41 +00:00
--suppress=missingIncludeSystem \
--suppress=missingInclude \
--suppress=unmatchedSuppression
2023-12-07 19:16:58 +00:00
@cppcheck --language=c --enable=all tests/units -q \
--suppress=missingIncludeSystem \
2023-12-09 17:24:41 +00:00
--suppress=unusedFunction \
--suppress=unmatchedSuppression