Change Makefile a bit.
This commit is contained in:
parent
580a9fc34f
commit
a5b243bf82
2
Makefile
2
Makefile
@ -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 $@
|
||||||
|
Loading…
Reference in New Issue
Block a user