Change Makefile a bit.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
SRCS = boot.c
|
||||
LDFLAGS = -melf_i386 -nostdlib --oformat binary -T linker.ld
|
||||
CFLAGS = -fno-pie -Wall -std=c2x -m16 -nostdlib -Os -nostartfiles
|
||||
CFLAGS = -ffreestanding -fno-builtin -fno-pie -Wall -std=c2x -m16 -nostdlib -Os -nostartfiles
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $^ -c -o $@
|
||||
|
||||
Reference in New Issue
Block a user