diff options
Diffstat (limited to 'apps/init/Makefile')
-rw-r--r-- | apps/init/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/apps/init/Makefile b/apps/init/Makefile index 68038d0..aa0ac8b 100644 --- a/apps/init/Makefile +++ b/apps/init/Makefile @@ -1,16 +1,7 @@ # MIT License, Copyright (c) 2021 Marvin Borner -OBJS = init.o +NAME = init +OBJS = main.o +LIBS = -lc -all: $(OBJS) - @mkdir -p $(BUILD)/apps/init/ - @$(LD) -o $(BUILD)/apps/init/exec $(LDFLAGS) $^ -lc -ifeq ($(CONFIG_STRIP), true) - @$(ST) --strip-all $(BUILD)/apps/init/exec -endif - -clean: - @$(RM) -f $(OBJS) - -%.o: %.c - @$(CC) -c $(CFLAGS) $< -o $@ +include ../generic.mk |