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

wirehaze git hosting

fix flickering
[lifeboot.git] / Makefile
1 SRC_DIR := .
2 PROGRAMS := prototype lifeboot
3 CC := gcc
4 CFLAGS := -Wall -Wextra -I.
5
6 lifeboot: lifeboot.asm
7 nasm lifeboot.asm
8
9 all: $(PROGRAMS)
10
11 run: lifeboot
12 qemu-system-x86_64 -drive file=lifeboot,format=raw
13
14 format:
15 find $(SRC_DIR) -iname '*.[hc]' | xargs clang-format -i --style=GNU
16
17 clean:
18 rm -rf $(PROGRAMS) *.o
19
20 .PHONY: all run format clean