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

wirehaze git hosting

16f62dde2ba734925c429ce1e3666529965785bd
[lifeboot.git] / Makefile
1 SRC_DIR := .
2 PROGRAMS := prototype lifeboot
3 CC := gcc
4 CFLAGS := -Wall -Wextra -I.
5
6 build: $(PROGRAMS)
7
8 lifeboot:
9 nasm lifeboot.asm
10
11 run:
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: build run format clean