aboutsummaryrefslogtreecommitdiff
path: root/apps/wm/Makefile
blob: 8fb009675530171229052d85dd519b584d7036a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# MIT License, Copyright (c) 2021 Marvin Borner

OBJS = wm.o

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 $@