blob: 92e108d56c3c87c5b46615830d7fd09b83199e62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
include share/push.mk
# Iterate through subdirectory tree
# Local sources
SRCS_$(d) := \
$(d)/main.c
BINS_$(d) := $(d)/wm
include share/paths.mk
# Local rules
include share/dynamic.mk
$(BINS_$(d)): TCFLAGS = \
`$(PKG) --cflags wlroots ` \
`$(PKG) --cflags wayland-server` \
`$(PKG) --cflags xkbcommon`
$(BINS_$(d)): TCLIBS = \
`$(PKG) --libs wlroots` \
`$(PKG) --libs wayland-server` \
`$(PKG) --libs xkbcommon`
$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/sys/libn/libn.a
$(COMPLINK)
include share/pop.mk
|