diff options
Diffstat (limited to 'apps/init')
-rw-r--r-- | apps/init/Makefile | 3 | ||||
-rw-r--r-- | apps/init/init.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/init/Makefile b/apps/init/Makefile index 7dec3e8..b56c344 100644 --- a/apps/init/Makefile +++ b/apps/init/Makefile @@ -3,7 +3,8 @@ OBJS = init.o all: $(OBJS) - @$(LD) -o $(BUILD)/apps/init $(LDFLAGS) $< -lc + @mkdir -p $(BUILD)/apps/init/ + @$(LD) -o $(BUILD)/apps/init/exec $(LDFLAGS) $< -lc clean: @$(RM) -f $(OBJS) diff --git a/apps/init/init.c b/apps/init/init.c index a7d07df..6e06dbe 100644 --- a/apps/init/init.c +++ b/apps/init/init.c @@ -9,8 +9,8 @@ int main(int argc, char **argv) UNUSED(argc); UNUSED(argv); - assert(exec("/bin/wm", "wm", NULL) == EOK); - /* assert(exec("/bin/chess", "chess", NULL) == EOK); */ + assert(exec("wm", NULL) == EOK); + /* assert(exec("chess", NULL) == EOK); */ return 0; } |