roza/Makefile

23 lines
450 B
Makefile

.PHONY: build tests
build:
meson setup build
meson compile -C build
tests: build
build/roza-tests
install: tests
meson install -C build
check:
@cppcheck --language=c --enable=all lib src -q \
--suppress=missingIncludeSystem \
--suppress=missingInclude \
--suppress=unmatchedSuppression
@cppcheck --language=c --enable=all tests/units -q \
--suppress=missingIncludeSystem \
--suppress=unusedFunction \
--suppress=unmatchedSuppression