blob: d519b6792b58bbdda7dd5eaac23cd14b991b82cf (
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
29
30
31
32
33
34
35
36
37
38
|
include share/push.mk
# Iterate through subdirectory tree
# Local sources
SRCS_$(d) := \
$(d)/arg.c \
$(d)/bufio.c \
$(d)/coro_unix_x64.s \
$(d)/coro.c \
$(d)/error.c \
$(d)/flate.c \
$(d)/fs.c \
$(d)/gz.c \
$(d)/io.c \
$(d)/os.c \
$(d)/memory.c \
$(d)/mmap.c \
$(d)/random.c \
$(d)/sort.c \
$(d)/string.c
TSTS_$(d) := \
$(d)/test.c
LIBS_$(d) := $(d)/libn.a
BINS_$(d) :=
include share/paths.mk
$(LIBS_$(d)): $(OBJS_$(d))
$(ARCHIVE)
$(UNTS_$(d)): TCLIBS := $(LIBS_$(d))
$(UNTS_$(d)): $(TOBJS_$(d)) $(LIBS_$(d))
$(LINK)
include share/pop.mk
|