fixed MAKE!!! YAYY!!Y!Y!Y!
This commit is contained in:
parent
320ba3dcfd
commit
113fdb379b
8
Makefile
8
Makefile
@ -1,9 +1,5 @@
|
||||
include sys/Makefile
|
||||
include sys/drv/vga/Makefile
|
||||
CC=cc
|
||||
|
||||
|
||||
all: vga.o
|
||||
$(CC) sys/drv/vga/vga.o
|
||||
|
||||
|
||||
|
||||
$(CC) sys/drv/vga/vga.o -o boot.img
|
||||
|
@ -1,10 +1,10 @@
|
||||
CC=cc
|
||||
FLAGS=-Wall -c -g -Wextra -ffreestanding -m32 -nostdlib
|
||||
SRCS=$(wildcard *.c)
|
||||
INCLUDE=include/
|
||||
MAIN_INCLUDE=../../include/
|
||||
BIN=../../../obj/drv/vga.o
|
||||
SRCS=$(wildcard sys/drv/vga/*.c)
|
||||
INC=sys/drv/vga/include/ sys/include/
|
||||
INC_PARAMS=$(INC:%=-I%)
|
||||
BIN=obj/vga.o
|
||||
|
||||
all:
|
||||
$(CC) $(FLAGS) -I $(INCLUDE) -I $(MAIN_INCLUDE) $(SRCS) -o $(BIN)
|
||||
vga.o:
|
||||
$(CC) $(FLAGS) $(INC_PARAMS) $(SRCS) -o $(BIN)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user