Compare commits
2 Commits
2c813f5901
...
44bd93b8b4
Author | SHA1 | Date | |
---|---|---|---|
44bd93b8b4 | |||
f682258fc9 |
@ -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_DIR := $(LUNA_ROOT)/apps
|
||||||
APPS_SRC := $(APPS_DIR)/src
|
APPS_SRC := $(APPS_DIR)/src
|
||||||
|
6
apps/src/hello.c
Normal file
6
apps/src/hello.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
puts("Hello, world!");
|
||||||
|
}
|
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
sleep(2);
|
|
||||||
|
|
||||||
FILE* syms = fopen("/sys/moon.sym", "r");
|
FILE* syms = fopen("/sys/moon.sym", "r");
|
||||||
if (!syms)
|
if (!syms)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user