1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-11-20 11:16:10 -05:00

Add CFLAGS

This commit is contained in:
Braiden Vasco 2017-11-01 06:44:42 +00:00
parent f25e91524c
commit d6e3ae793f

View file

@ -14,7 +14,7 @@ kernel: $(OBJS)
$(CC) -T linker.ld -o $@ -ffreestanding -nostdlib -lgcc $(OBJS)
%.c.o: %.c
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -Wall -Wextra
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -fno-builtin -fno-stack-protector -Wall -Wextra
%.s.o: %.s
$(AS) $< -o $@