aboutsummaryrefslogtreecommitdiff
path: root/apps/wm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wm/Makefile')
-rw-r--r--apps/wm/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/apps/wm/Makefile b/apps/wm/Makefile
index 8fb0096..556d526 100644
--- a/apps/wm/Makefile
+++ b/apps/wm/Makefile
@@ -1,16 +1,7 @@
# MIT License, Copyright (c) 2021 Marvin Borner
-OBJS = wm.o
+NAME = wm
+OBJS = main.o
+LIBS = -lgui -ltxt -lc
-all: $(OBJS)
- @mkdir -p $(BUILD)/apps/wm/
- @$(LD) -o $(BUILD)/apps/wm/exec $(LDFLAGS) $^ -lgui -ltxt -lc
-ifeq ($(CONFIG_STRIP), true)
- @$(ST) --strip-all $(BUILD)/apps/wm/exec
-endif
-
-clean:
- @$(RM) -f $(OBJS)
-
-%.o: %.c
- @$(CC) -c $(CFLAGS) $< -o $@
+include ../generic.mk