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