X-Git-Url: https://git.wirehaze.ovh/lifeboot.git/blobdiff_plain/0063f3d6119a904b2e2184793016c05d18c8a3f6..b18225d8568d8f36da6109113621a001a627da1f:/Makefile diff --git a/Makefile b/Makefile index 9c4db25..6ae7534 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,20 @@ SRC_DIR := . -PROGRAMS := prototype +PROGRAMS := prototype lifeboot CC := gcc CFLAGS := -Wall -Wextra -Werror -I. build: $(PROGRAMS) +lifeboot: + nasm lifeboot.asm + +run: + qemu-system-x86_64 -drive file=lifeboot,format=raw + format: find $(SRC_DIR) -iname '*.[hc]' | xargs clang-format -i --style=GNU clean: rm -rf $(PROGRAMS) *.o -.PHONY: build format clean +.PHONY: build run format clean