Commit ca6011b5 authored by Luc Lenôtre's avatar Luc Lenôtre

Added grub.cfg

parent f1f9bb82
*.o *.o
...@@ -23,10 +23,22 @@ $(NAME): $(OBJ) ...@@ -23,10 +23,22 @@ $(NAME): $(OBJ)
%.o: %.[cs] %.o: %.[cs]
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@
iso: $(NAME).iso
mkdir -p iso/boot/grub/
cp $(NAME) iso/boot/
cp grub.cfg iso/boot/grub/
grub-mkrescue -o $(NAME).iso iso/
clean: clean:
rm -f $(OBJ) rm -f $(OBJ)
rm -rf iso/boot/grub/
fclean: clean fclean: clean
rm -f $(NAME) rm -f $(NAME)
rm -f $(NAME).iso
re: fclean all re: fclean all
.PHONY: iso clean fclean re
menuentry "CrumbleOS" {
multiboot /boot/kernel
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment