From 59974248187229378f1df28b224a2d02e2d13fe4 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 10 Oct 2015 11:19:59 +0200 Subject: kfs: fixed Makefile * we removed the option -nographic to be able to display the framebuffer. * the execution of qemu is done as a body of a rule Signed-off-by: Olivier Gayot --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3ccecb1..66da24e 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,6 @@ OBJ = $(SRC:.c=.o) all: $(NAME) $(NAME): $(OBJ) $(LDSCRIPT) - # TODO $(CC) -o $@ $^ $(LDFLAGS) clean: @@ -29,10 +28,10 @@ distclean: mrproper $(RM) $(wildcard $(addsuffix .sw*,$(addprefix .,$(SRC)))) boot: all - $(shell qemu-system-x86_64 -kernel $(NAME) -nographic) + qemu-system-i386 -kernel $(NAME) debug: all - $(shell qemu-system-x86_64 -kernel $(NAME) -s -S) + qemu-system-i386 -kernel $(NAME) -s -S .PHONY: all clean mrproper distclean boot -- cgit v1.2.3