diff --git a/Makefile b/Makefile index e830f79..1d341fe 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ export MODULES = $(addprefix $(shell pwd)/modules/, dummy1.bin dummy2.bin) export CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I $(INCLUDE) ifeq (none, $(ARCH)) -run: test +run: all-kernel + @$(KERNEL) else run: run-iso endif diff --git a/arch/none/main.c b/arch/none/main.c index 905869d..b217b0d 100644 --- a/arch/none/main.c +++ b/arch/none/main.c @@ -1,4 +1,8 @@ +#include + int main() { + printf("Hello, World\n"); + return 0; }