QEMU=qemu-system-x86_64 all: bam rel: bam cdrom.rel.iso clean: bam -c analyze: scan-build -V bam reanalyze: clean analyze CHKFLAGS=--enable=warning,performance,information,style --suppress=portability -I src/common/include -j4 --platform=unix32 cppcheck: cppcheck $(CHKFLAGS) src/common 2>&1 >/dev/null | tee build/cppcheck.log cppcheck $(CHKFLAGS) -I src/kernel/include src/kernel 2>&1 >/dev/null | tee -a build/cppcheck.log cppcheck $(CHKFLAGS) -I src/lib/include src/lib src/sysbin 2>&1 >/dev/null | tee -a build/cppcheck.log rebuild: clean all mrproper: clean run_tests: rm build/dev/tests/*.log build/dev/tests/*.log.err || true bam test.dev run_qemu: all $(QEMU) -cdrom cdrom.dev.iso -serial stdio -m 16