reorganize
This commit is contained in:
parent
997eb2582e
commit
99ed9c37db
4
Makefile
4
Makefile
|
@ -1,11 +1,11 @@
|
|||
CC = i686-elf-gcc
|
||||
INCLUDE = -I./include -I./lib
|
||||
CFLAGS = -Wall -Wextra -Werror -ffreestanding $(INCLUDE)
|
||||
LDFLAGS = -T kernel/kernel.ld -ffreestanding -O3 -nostdlib -lgcc
|
||||
LDFLAGS = -T src/kernel.ld -ffreestanding -O3 -nostdlib -lgcc
|
||||
|
||||
BUILDDIR = build
|
||||
|
||||
KERNELSRC := $(shell find ./kernel -name '*.c' -o -name '*.asm')
|
||||
KERNELSRC := $(shell find ./src -name '*.c' -o -name '*.asm')
|
||||
KERNELOBJ := $(addprefix $(BUILDDIR)/, \
|
||||
$(notdir \
|
||||
$(patsubst %.c,%.o,\
|
||||
|
|
Loading…
Reference in New Issue
Block a user