From 44bd93b8b4ac9690a4d5afc04605c87f0c56d184 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 19 Oct 2022 21:13:47 +0200 Subject: [PATCH] apps: Add a hello app --- apps/Makefile | 2 +- apps/src/hello.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 apps/src/hello.c diff --git a/apps/Makefile b/apps/Makefile index 384ce943..75ce6d09 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -1,4 +1,4 @@ -APPS := init sym sh crash uname uptime +APPS := init sym sh crash uname uptime hello APPS_DIR := $(LUNA_ROOT)/apps APPS_SRC := $(APPS_DIR)/src diff --git a/apps/src/hello.c b/apps/src/hello.c new file mode 100644 index 00000000..50106f10 --- /dev/null +++ b/apps/src/hello.c @@ -0,0 +1,6 @@ +#include + +int main() +{ + puts("Hello, world!"); +} \ No newline at end of file