blob: 680d741f05edbc71e8905bea7638dbe349abecc9 (
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
27
28
|
include share/push.mk
# Iterate through subdirectory tree
# Local sources
SRCS_$(d) := \
$(d)/drw.c \
$(d)/hook.c \
$(d)/client.c \
$(d)/util.c \
$(d)/dwm.c
BINS_$(d) := $(d)/dwm
include share/paths.mk
# Local rules
include share/dynamic.mk
$(BINS_$(d)): TCFLAGS = \
`$(PKG) --cflags fontconfig` \
`$(PKG) --cflags freetype2`
$(BINS_$(d)): TCLIBS = \
`$(PKG) --libs fontconfig` \
`$(PKG) --libs freetype2` \
-lX11 -lXinerama -lXft -lX11-xcb -lxcb -lxcb-res \
$(OBJ_DIR)/libn/libn.a
$(BINS_$(d)): $(OBJS_$(d))
$(COMPLINK)
include share/pop.mk
|