From: phfr24 Date: Tue, 18 Nov 2025 00:52:52 +0000 (-0300) Subject: update makefile X-Git-Url: https://git.wirehaze.ovh/lifeboot.git/commitdiff_plain/9213edc199c093cde09fd5fa4c642017ca1c6501?ds=sidebyside update makefile --- diff --git a/Makefile b/Makefile index 16f62dd..3117265 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,12 @@ PROGRAMS := prototype lifeboot CC := gcc CFLAGS := -Wall -Wextra -I. -build: $(PROGRAMS) - -lifeboot: +lifeboot: lifeboot.asm nasm lifeboot.asm -run: +all: $(PROGRAMS) + +run: lifeboot qemu-system-x86_64 -drive file=lifeboot,format=raw format: @@ -17,4 +17,4 @@ format: clean: rm -rf $(PROGRAMS) *.o -.PHONY: build run format clean +.PHONY: all run format clean