mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Improve Makefile
This commit is contained in:
parent
2adfc1feba
commit
67247168f6
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -59,8 +59,8 @@ clean:
|
|||
rm -f $(KERNEL)
|
||||
|
||||
$(KERNEL): $(OBJS)
|
||||
$(CC) -T linker.ld -o $(KERNEL) -ffreestanding -nostdlib -lgcc $(OBJS)
|
||||
grub-file --is-x86-multiboot2 $(KERNEL)
|
||||
$(CC) -T linker.ld -o $@ -ffreestanding -nostdlib -lgcc $^
|
||||
grub-file --is-x86-multiboot2 $@
|
||||
|
||||
%.c.o: %.c
|
||||
$(CC) -c $< -o $@ $(CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue