mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-21 12:52:59 +01:00
14 lines
231 B
Makefile
14 lines
231 B
Makefile
CC ?= gcc
|
|
CFLAGS ?= -std=gnu11 -O2 -Wall -Wextra -Werror
|
|
.PHONY: all c-os test
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) tools/build.c -o build-tool
|
|
./build-tool
|
|
|
|
c-os: all
|
|
./bob --boot build/kernel.b16
|
|
|
|
test: all
|
|
./build-tool --test
|