Change Makefile a bit.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
SRCS = boot.c
|
SRCS = boot.c
|
||||||
LDFLAGS = -melf_i386 -nostdlib --oformat binary -T linker.ld
|
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
|
%.o: %.c
|
||||||
$(CC) $(CFLAGS) $^ -c -o $@
|
$(CC) $(CFLAGS) $^ -c -o $@
|
||||||
|
|||||||
Reference in New Issue
Block a user