omos-tcnj2024/sys/drv/vga/Makefile

11 lines
230 B
Makefile
Raw Normal View History

2024-02-17 23:19:28 +01:00
CC=cc
FLAGS=-Wall -c -g -Wextra -ffreestanding -m32 -nostdlib
2024-02-18 00:06:01 +01:00
SRCS=$(wildcard sys/drv/vga/*.c)
INC=sys/drv/vga/include/ sys/include/
INC_PARAMS=$(INC:%=-I%)
BIN=obj/vga.o
2024-02-17 23:19:28 +01:00
2024-02-18 00:06:01 +01:00
vga.o:
$(CC) $(FLAGS) $(INC_PARAMS) $(SRCS) -o $(BIN)
2024-02-17 23:19:28 +01:00