aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/rules.mk
blob: fe30305ba09877595c31d957e52d9f2485d59a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include share/push.mk
# Iterate through subdirectory tree

# Local sources
SRCS_$(d) := \
	$(d)/lex.c \
	$(d)/sym.c \
	$(d)/cc.c

LIBS_$(d) :=
BINS_$(d) := $(d)/cc
TSTS_$(d) := 

include share/paths.mk

# Local rules
$(BINS_$(d)): $(OBJS_$(d)) $(OBJ_DIR)/libn/libn.a
	$(COMPLINK)

include share/pop.mk