]> wirehaze git hosting - lifeboot.git/blobdiff - Makefile

wirehaze git hosting

refac, vsync doesnt work
[lifeboot.git] / Makefile
index 6ae753483ab480f72f285c912e8426378b8a44f6..3117265796c18d3baf2fe17548eeeb901cf99801 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
 SRC_DIR := .
 PROGRAMS := prototype lifeboot
 CC := gcc
 SRC_DIR := .
 PROGRAMS := prototype lifeboot
 CC := gcc
-CFLAGS := -Wall -Wextra -Werror -I.
+CFLAGS := -Wall -Wextra -I.
 
 
-build: $(PROGRAMS)
-
-lifeboot:
+lifeboot: lifeboot.asm
        nasm lifeboot.asm
 
        nasm lifeboot.asm
 
-run:
+all: $(PROGRAMS)
+
+run: lifeboot
        qemu-system-x86_64 -drive file=lifeboot,format=raw
 
 format:
        qemu-system-x86_64 -drive file=lifeboot,format=raw
 
 format:
@@ -17,4 +17,4 @@ format:
 clean:
        rm -rf $(PROGRAMS) *.o
 
 clean:
        rm -rf $(PROGRAMS) *.o
 
-.PHONY: build run format clean
+.PHONY: all run format clean